public class StorageConfig.Cache
extends java.lang.Object
DataManager.dataCache| Modifier and Type | Field and Description |
|---|---|
boolean |
enabled
Whether the cache is enabled
|
long |
interval
The interval to save the cache (if
saveOn contains StorageConfig.SaveOn.INTERVAL) |
@NotNull java.util.Set<StorageConfig.SaveOn> |
saveOn
When to save the cache
|
| Constructor and Description |
|---|
Cache()
Construct a new
StorageConfig.Cache instance to parse the cache section |
public final boolean enabled
@NotNull public final @NotNull java.util.Set<StorageConfig.SaveOn> saveOn
public final long interval
saveOn contains StorageConfig.SaveOn.INTERVAL)public Cache()
StorageConfig.Cache instance to parse the cache section