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 |
containsKey(K key) |
void |
destroy() |
void |
disposeDeferredBlocks() |
R |
get(K key) |
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()
void destroy()
SizeEstimator getSizeEstimator()
void setSizeEstimator(SizeEstimator sizeEstimator)
void disposeDeferredBlocks()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.