com.hazelcast.cache.impl.eviction
Interface Evictable

All Known Subinterfaces:
CacheRecord<V>
All Known Implementing Classes:
AbstractCacheRecord, CacheDataRecord, CacheObjectRecord

public interface Evictable

Interface for entries, records or whatever that can be evicted.


Method Summary
 int getAccessHit()
          Gets the access hit count of this Evictable.
 long getAccessTime()
          Gets the latest access time difference of this Evictable in milliseconds.
 long getCreationTime()
          Gets the creation time of this Evictable in milliseconds.
 

Method Detail

getCreationTime

long getCreationTime()
Gets the creation time of this Evictable in milliseconds.

Returns:
the creation time of this Evictable in milliseconds

getAccessTime

long getAccessTime()
Gets the latest access time difference of this Evictable in milliseconds.

Returns:
the latest access time of this Evictable in milliseconds

getAccessHit

int getAccessHit()
Gets the access hit count of this Evictable.

Returns:
the access hit count of this Evictable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.