public class NoKCVSCache extends KCVSCache
NO_DELETIONS, storeNO_ADDITIONS| Constructor and Description |
|---|
NoKCVSCache(KeyColumnValueStore store) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
EntryList |
getSlice(KeySliceQuery query,
StoreTransaction txh)
Retrieves the list of entries (i.e.
|
Map<StaticBuffer,EntryList> |
getSlice(List<StaticBuffer> keys,
SliceQuery query,
StoreTransaction txh)
Retrieves the list of entries (i.e.
|
protected void |
invalidate(StaticBuffer key,
List<CachableStaticBuffer> entries) |
acquireLock, close, getKeys, getKeys, getName, getTx, hasValidateKeysOnly, incActionBy, mutate, mutateEntriespublic NoKCVSCache(KeyColumnValueStore store)
public void clearCache()
clearCache in class KCVSCacheprotected void invalidate(StaticBuffer key, List<CachableStaticBuffer> entries)
invalidate in class KCVSCachepublic EntryList getSlice(KeySliceQuery query, StoreTransaction txh) throws StorageException
KeyColumnValueStorequery - Query to get results fortxh - TransactionStorageException - when columnEnd < columnStartKeySliceQuerypublic Map<StaticBuffer,EntryList> getSlice(List<StaticBuffer> keys, SliceQuery query, StoreTransaction txh) throws StorageException
KeyColumnValueStoreSliceQuery for all
of the given keys together.keys - List of keysquery - Slicequery specifying matching entriestxh - TransactionStorageExceptionCopyright © 2012–2014. All rights reserved.