public class StaleReadDetectorImpl extends Object implements StaleReadDetector
StaleReadDetectorALWAYS_FRESH| Constructor and Description | 
|---|
| StaleReadDetectorImpl(RepairingHandler repairingHandler,
                     MinimalPartitionService partitionService) | 
| Modifier and Type | Method and Description | 
|---|---|
| MetaDataContainer | getMetaDataContainer(Object key) | 
| boolean | isStaleRead(Object key,
           NearCacheRecord record) | 
public StaleReadDetectorImpl(RepairingHandler repairingHandler, MinimalPartitionService partitionService)
public boolean isStaleRead(Object key, NearCacheRecord record)
isStaleRead in interface StaleReadDetectorkey - the keyrecord - the near-cache recordtrue if reading with the supplied invalidation metadata is stale,
 otherwise returns falsepublic MetaDataContainer getMetaDataContainer(Object key)
getMetaDataContainer in interface StaleReadDetectorkey - supplied key to get valueMetaDataContainer for this keyCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.