com.hazelcast.client
Class ClientMapEntry<K,V>

java.lang.Object
  extended by com.hazelcast.client.ClientMapEntry<K,V>
All Implemented Interfaces:
MapEntry<K,V>, Map.Entry<K,V>

public class ClientMapEntry<K,V>
extends Object
implements MapEntry<K,V>


Constructor Summary
ClientMapEntry(CMap.CMapEntry mapEntry, K key, MapClientProxy<K,V> proxy)
           
 
Method Summary
 long getCost()
           
 long getCreationTime()
           
 long getExpirationTime()
           
 int getHits()
           
 K getKey()
           
 long getLastAccessTime()
           
 long getLastStoredTime()
           
 long getLastUpdateTime()
           
 V getValue()
           
 long getVersion()
           
 boolean isValid()
           
 V setValue(V value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

ClientMapEntry

public ClientMapEntry(CMap.CMapEntry mapEntry,
                      K key,
                      MapClientProxy<K,V> proxy)
Method Detail

getCost

public long getCost()
Specified by:
getCost in interface MapEntry<K,V>

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface MapEntry<K,V>

getExpirationTime

public long getExpirationTime()
Specified by:
getExpirationTime in interface MapEntry<K,V>

getHits

public int getHits()
Specified by:
getHits in interface MapEntry<K,V>

getLastAccessTime

public long getLastAccessTime()
Specified by:
getLastAccessTime in interface MapEntry<K,V>

getLastStoredTime

public long getLastStoredTime()
Specified by:
getLastStoredTime in interface MapEntry<K,V>

getLastUpdateTime

public long getLastUpdateTime()
Specified by:
getLastUpdateTime in interface MapEntry<K,V>

getVersion

public long getVersion()
Specified by:
getVersion in interface MapEntry<K,V>

isValid

public boolean isValid()
Specified by:
isValid in interface MapEntry<K,V>

getKey

public K getKey()
Specified by:
getKey in interface Map.Entry<K,V>

getValue

public V getValue()
Specified by:
getValue in interface Map.Entry<K,V>

setValue

public V setValue(V value)
Specified by:
setValue in interface Map.Entry<K,V>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.