public class GridSwapKey extends Object
This class also holds information about partition this key belongs to (if needed for caches).
| Constructor and Description |
|---|
GridSwapKey(Object key) |
GridSwapKey(Object key,
int part) |
GridSwapKey(Object key,
int part,
byte[] keyBytes) |
public GridSwapKey(Object key)
key - Key.public GridSwapKey(Object key, int part)
key - Key.part - Partition.public GridSwapKey(Object 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.
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014