public class GridCacheBatchSwapEntry<K,V> extends GridCacheSwapEntry<V>
| Constructor and Description |
|---|
GridCacheBatchSwapEntry()
Empty constructor required by
Externalizable. |
GridCacheBatchSwapEntry(K key,
byte[] keyBytes,
int keyHash,
int part,
byte[] valBytes,
boolean valIsByteArr,
GridCacheVersion ver,
long ttl,
long expireTime,
GridUuid keyClsLdrId,
GridUuid valClsLdrId)
Creates batch swap entry.
|
| Modifier and Type | Method and Description |
|---|---|
K |
key() |
byte[] |
keyBytes() |
int |
partition() |
expireTime, keyClassLoaderId, keyHash, readExternal, toString, ttl, value, valueBytes, valueClassLoaderId, valueIsByteArray, version, writeExternalpublic GridCacheBatchSwapEntry()
Externalizable.public GridCacheBatchSwapEntry(K key, byte[] keyBytes, int keyHash, int part, byte[] valBytes, boolean valIsByteArr, GridCacheVersion ver, long ttl, long expireTime, GridUuid keyClsLdrId, @Nullable GridUuid valClsLdrId)
key - Key.keyBytes - Key bytes.keyHash - Key hash code.part - Partition id.valBytes - Value bytes.valIsByteArr - Whether value is byte array.ver - Version.ttl - Time to live.expireTime - Expire time.keyClsLdrId - Key class loader ID.valClsLdrId - Optional value class loader ID.public K key()
public byte[] keyBytes()
public int partition()
Copyright © 2014. All rights reserved.