public class SimpleDataStoreEntryUpdater<K,V> extends DataStoreEntryUpdater<K,V>
_logger, ctx| Constructor and Description |
|---|
SimpleDataStoreEntryUpdater() |
| Modifier and Type | Method and Description |
|---|---|
LoadResponseCommand<K,V> |
createLoadResponseCommand(DataStoreEntry<K,V> entry,
K k,
long minVersion) |
SaveCommand<K,V> |
createSaveCommand(DataStoreEntry<K,V> entry,
K k,
V v) |
void |
executeSave(DataStoreEntry<K,V> entry,
SaveCommand<K,V> cmd) |
void |
executeTouch(DataStoreEntry<K,V> entry,
TouchCommand<K,V> touchCmd) |
V |
extractVFrom(LoadResponseCommand<K,V> cmd) |
byte[] |
getState(V v) |
V |
getV(DataStoreEntry<K,V> entry) |
captureState, deserializeV, initialize, printEntryInfo, updateMetaInfoInDataStoreEntrypublic SaveCommand<K,V> createSaveCommand(DataStoreEntry<K,V> entry, K k, V v)
createSaveCommand in class DataStoreEntryUpdater<K,V>public LoadResponseCommand<K,V> createLoadResponseCommand(DataStoreEntry<K,V> entry, K k, long minVersion)
createLoadResponseCommand in class DataStoreEntryUpdater<K,V>public void executeSave(DataStoreEntry<K,V> entry, SaveCommand<K,V> cmd)
executeSave in class DataStoreEntryUpdater<K,V>public void executeTouch(DataStoreEntry<K,V> entry, TouchCommand<K,V> touchCmd) throws DataStoreException
executeTouch in class DataStoreEntryUpdater<K,V>DataStoreExceptionpublic V getV(DataStoreEntry<K,V> entry) throws DataStoreException
getV in class DataStoreEntryUpdater<K,V>DataStoreExceptionpublic byte[] getState(V v) throws DataStoreException
getState in class DataStoreEntryUpdater<K,V>DataStoreExceptionpublic V extractVFrom(LoadResponseCommand<K,V> cmd) throws DataStoreException
extractVFrom in class DataStoreEntryUpdater<K,V>DataStoreExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.