K - the key type to be put in this storage.R - the value type to be put in this storage.public interface Storage<K,R>
RecordStore.
 Includes basic storage operations.| Modifier and Type | Method and Description | 
|---|---|
| void | clear(boolean isDuringShutdown) | 
| boolean | containsKey(K key) | 
| void | destroy(boolean isDuringShutdown) | 
| void | disposeDeferredBlocks() | 
| R | get(K key) | 
| Iterable<LazyEntryViewFromRecord> | getRandomSamples(int sampleCount)Used for sampling based eviction, returns sampled entries. | 
| SizeEstimator | getSizeEstimator() | 
| boolean | isEmpty() | 
| void | put(K key,
   R record) | 
| void | removeRecord(R record) | 
| void | setSizeEstimator(SizeEstimator sizeEstimator) | 
| int | size() | 
| void | updateRecordValue(K key,
                 R record,
                 Object value) | 
| Collection<R> | values() | 
void removeRecord(R record)
boolean containsKey(K key)
Collection<R> values()
int size()
boolean isEmpty()
void clear(boolean isDuringShutdown)
void destroy(boolean isDuringShutdown)
SizeEstimator getSizeEstimator()
void setSizeEstimator(SizeEstimator sizeEstimator)
void disposeDeferredBlocks()
Iterable<LazyEntryViewFromRecord> getRandomSamples(int sampleCount)
sampleCount - sample count.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.