public class SwapKey extends Object
This class also holds information about partition this key belongs to (if needed for caches).
| Constructor and Description |
|---|
SwapKey(KeyCacheObject key,
int part,
byte[] keyBytes) |
SwapKey(Object key) |
SwapKey(Object key,
int part) |
public SwapKey(Object key)
key - Key.public SwapKey(Object key, int part)
key - Key.part - Partition.public SwapKey(KeyCacheObject key, int part, @Nullable byte[] keyBytes)
key - Key.part - Part.keyBytes - Key bytes.public Object key()
public int partition()
@Nullable public byte[] keyBytes()
public void keyBytes(byte[] keyBytes)
keyBytes - Serialized key.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017