V - the value typepublic class VersionedExternalCacheRequestContext<V> extends AbstractExternalCacheRequestContext<V>
ExternalCache that maintains a
cache version.AbstractExternalCacheRequestContext.DeferredOperation<V>| Modifier and Type | Field and Description |
|---|---|
protected String |
externalCacheVersionKey |
name| Constructor and Description |
|---|
VersionedExternalCacheRequestContext(ExternalCacheKeyGenerator keyGenerator,
String name,
Supplier<String> partitionSupplier,
Function<String,Long> cacheVersionSupplier,
Duration lockTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
cacheVersion() |
void |
updateCacheVersion(Function<String,Long> cacheVersionSupplier) |
clearKeyMaps, externalEntryKeyFor, forgetAll, forgetAllValues, forgetValue, getGlobalLock, getKeyedOperations, getValueRecorded, hasPendingOperations, hasRemoveAll, internalEntryKeyFor, recordPut, recordPutPolicy, recordRemove, recordRemoveAll, recordValue, recordValuesprotected final String externalCacheVersionKey
protected long cacheVersion()
cacheVersion in class AbstractExternalCacheRequestContext<V>Copyright © 2019 Atlassian. All rights reserved.