public class PersistentCache extends Object
| Modifier and Type | Field | Description |
|---|---|---|
HashMap<String,String> |
cache |
|
static String |
cacheLocation |
|
String |
charset |
|
(package private) int |
i |
|
static org.slf4j.Logger |
log |
| Constructor | Description |
|---|---|
PersistentCache() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(String input) |
|
String |
get(String input) |
|
void |
put(String input,
String output) |
|
void |
readCache() |
Read the cache to a file
|
int |
size() |
|
void |
writeCache() |
Write the cache to a file
|
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.