K
- the key type.V
- the value type.public final class DelayedEntry<K,V> extends Object
Modifier and Type | Field and Description |
---|---|
protected K |
key |
protected long |
storeTime |
Modifier and Type | Method and Description |
---|---|
static <K,V> DelayedEntry<K,V> |
create(K key,
V value,
long storeTime) |
static <K,V> DelayedEntry<K,V> |
create(K key,
V value,
long storeTime,
int partitionId) |
static <K,V> DelayedEntry<K,V> |
createWithNullKey(V value,
long storeTime)
Used to put staging area.
|
static <K,V> DelayedEntry<K,V> |
createWithNullValue(K key,
long storeTime,
int partitionId)
Used to removal operations from map store.
|
boolean |
equals(Object o) |
K |
getKey() |
int |
getPartitionId() |
long |
getStoreTime() |
V |
getValue() |
int |
hashCode() |
String |
toString() |
public V getValue()
public static <K,V> DelayedEntry<K,V> create(K key, V value, long storeTime, int partitionId)
public static <K,V> DelayedEntry<K,V> create(K key, V value, long storeTime)
public static <K,V> DelayedEntry<K,V> createWithNullKey(V value, long storeTime)
K
- the key type.V
- the value type.value
- to put.storeTime
- target store timeWriteBehindStore.stagingArea
public static <K,V> DelayedEntry<K,V> createWithNullValue(K key, long storeTime, int partitionId)
K
- the key type.V
- the value type.key
- to put.storeTime
- target store timepublic int hashCode()
public boolean equals(Object o)
public K getKey()
public long getStoreTime()
public int getPartitionId()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.