K - the cache entry key typeV - the cache entry value typepublic interface SnapshotOptions<K,V>
extends java.io.Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SnapshotOptions.SnapshotFormat
Defines the available snapshot file formats.
|
| Modifier and Type | Method and Description |
|---|---|
SnapshotFilter<K,V> |
getFilter()
Returns the filter to be applied to snapshot entries.
|
SnapshotOptions<K,V> |
invokeCallbacks(boolean invokeCallbacks)
Sets whether to invoke callbacks when loading a snapshot.
|
SnapshotOptions<K,V> |
setFilter(SnapshotFilter<K,V> filter)
Sets a filter to apply to snapshot entries.
|
boolean |
shouldInvokeCallbacks()
Returns whether loading a snapshot causes callbacks to be invoked
|
SnapshotOptions<K,V> setFilter(SnapshotFilter<K,V> filter)
filter - the filter to apply, or null to remove the filterSnapshotFilter<K,V> getFilter()
SnapshotOptions<K,V> invokeCallbacks(boolean invokeCallbacks)
invokeCallbacks - boolean shouldInvokeCallbacks()