-
public class DiskCacheConfigConfiguration class for a DiskStorageCache.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDiskCacheConfig.Builder
-
Method Summary
Modifier and Type Method Description intgetVersion()StringgetBaseDirectoryName()Supplier<File>getBaseDirectoryPathSupplier()longgetDefaultSizeLimit()longgetLowDiskSpaceSizeLimit()longgetMinimumSizeLimit()EntryEvictionComparatorSuppliergetEntryEvictionComparatorSupplier()CacheErrorLoggergetCacheErrorLogger()CacheEventListenergetCacheEventListener()DiskTrimmableRegistrygetDiskTrimmableRegistry()ContextgetContext()booleangetIndexPopulateAtStartupEnabled()static DiskCacheConfig.BuildernewBuilder(@Nullable() Context context)Create a new builder. -
-
Method Detail
-
getVersion
int getVersion()
-
getBaseDirectoryName
String getBaseDirectoryName()
-
getBaseDirectoryPathSupplier
Supplier<File> getBaseDirectoryPathSupplier()
-
getDefaultSizeLimit
long getDefaultSizeLimit()
-
getLowDiskSpaceSizeLimit
long getLowDiskSpaceSizeLimit()
-
getMinimumSizeLimit
long getMinimumSizeLimit()
-
getEntryEvictionComparatorSupplier
EntryEvictionComparatorSupplier getEntryEvictionComparatorSupplier()
-
getCacheErrorLogger
CacheErrorLogger getCacheErrorLogger()
-
getCacheEventListener
CacheEventListener getCacheEventListener()
-
getDiskTrimmableRegistry
DiskTrimmableRegistry getDiskTrimmableRegistry()
-
getContext
@Nullable() Context getContext()
-
getIndexPopulateAtStartupEnabled
boolean getIndexPopulateAtStartupEnabled()
-
newBuilder
static DiskCacheConfig.Builder newBuilder(@Nullable() Context context)
Create a new builder.
-
-
-
-