com.hazelcast.util
Class SampleableConcurrentHashMap.SamplingEntry

java.lang.Object
  extended by com.hazelcast.util.ConcurrentReferenceHashMap.SimpleEntry<K,V>
      extended by com.hazelcast.util.SampleableConcurrentHashMap.SamplingEntry
All Implemented Interfaces:
Serializable, Map.Entry<K,V>
Direct Known Subclasses:
CacheRecordHashMap.EvictableSamplingEntry, SampleableConcurrentHashMap.IterableSamplingEntry
Enclosing class:
SampleableConcurrentHashMap<K,V>

public class SampleableConcurrentHashMap.SamplingEntry
extends ConcurrentReferenceHashMap.SimpleEntry<K,V>

Entry to define keys and values for sampling.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.util.ConcurrentReferenceHashMap.SimpleEntry
key, value
 
Constructor Summary
SampleableConcurrentHashMap.SamplingEntry(K key, V value)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 V setValue(V value)
           
 
Methods inherited from class com.hazelcast.util.ConcurrentReferenceHashMap.SimpleEntry
getKey, getValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampleableConcurrentHashMap.SamplingEntry

public SampleableConcurrentHashMap.SamplingEntry(K key,
                                                 V value)
Method Detail

setValue

public final V setValue(V value)
Specified by:
setValue in interface Map.Entry<K,V>
Overrides:
setValue in class ConcurrentReferenceHashMap.SimpleEntry<K,V>

equals

public boolean equals(Object o)
Specified by:
equals in interface Map.Entry<K,V>
Overrides:
equals in class ConcurrentReferenceHashMap.SimpleEntry<K,V>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<K,V>
Overrides:
hashCode in class ConcurrentReferenceHashMap.SimpleEntry<K,V>


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