public static class DiskBackedByteStore.Factory extends java.lang.Object implements ByteStore.Factory
| Constructor and Description |
|---|
Factory(java.io.File cacheDir) |
Factory(java.io.File cacheDir,
int maxMemory) |
| Modifier and Type | Method and Description |
|---|---|
DiskBackedByteStore |
create() |
public Factory(java.io.File cacheDir)
cacheDir - A directory where the temporary data is stored.public Factory(java.io.File cacheDir,
int maxMemory)
cacheDir - A directory where the temporary data is stored.maxMemory - The threshold before the data is written to disk.public DiskBackedByteStore create()
create in interface ByteStore.Factory