Class NearCacheKey<K,T>
java.lang.Object
org.gridgain.internal.table.nearcache.NearCacheKey<K,T>
Near Cache key.
This class has two main purposes:
1. Implement a proper binary tuple comparison for keys in Near Cache;
2. Cache both binary and serialized form to increase key read performance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleandataEquals(T otherSerializedKey) protected abstract intdataHash()booleaninthashCode()key()Get key.Get serialized key.
-
Constructor Details
-
NearCacheKey
Constructor.- Parameters:
key- Key.serializedKey- Serialized key.
-
-
Method Details