Package xyz.srnyx.annoyingapi.storage
Class StorageConfig.Cache
java.lang.Object
eu.okaeri.configs.OkaeriConfig
xyz.srnyx.annoyingapi.file.okaeri.AnnoyingConfig
xyz.srnyx.annoyingapi.file.okaeri.SubConfig<StorageConfig,StorageConfig>
xyz.srnyx.annoyingapi.storage.StorageConfig.Cache
- Enclosing class:
StorageConfig
Options for the data cache (stored differently per method)
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanThe interval to save the cache (ifsave_oncontainsStorageConfig.Cache.SaveOn.INTERVAL) -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class xyz.srnyx.annoyingapi.file.okaeri.AnnoyingConfig
getAsMethods inherited from class eu.okaeri.configs.OkaeriConfig
asMap, asMap, asMap, configure, get, get, get, getBindFile, getBindFileName, getConfigurer, getContext, getDeclaration, getEffectiveConfigurer, getInternalPath, getInternalState, isSubconfig, load, load, load, load, load, load, load, load, load, migrate, migrate, migrateInternalState, migrateInternalState, save, save, save, saveDefaults, saveToBytes, saveToString, set, setBindFile, setConfigurer, setContext, setDeclaration, setInternalPath, setInternalState, update, updateDeclaration, validate, withBindFile, withBindFile, withBindFile, withConfigurer, withConfigurer, withLogger, withRemoveOrphans, withSerdesPack
-
Field Details
-
enabled
public boolean enabled -
interval
The interval to save the cache (ifsave_oncontainsStorageConfig.Cache.SaveOn.INTERVAL)
-
-
Constructor Details
-
Cache
-
-
Method Details
-
getSaveOn
-