| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.map.impl.mapstore.writebehind.DelayedEntry<K,V>
K - the key type.V - the value type.public final class DelayedEntry<K,V>
Store entry for delayed store operations.
| Field Summary | |
|---|---|
protected  K | 
key
 | 
protected  long | 
storeTime
 | 
| Method Summary | ||
|---|---|---|
static
 | 
create(K key,
       V value,
       long storeTime)
 | 
|
static
 | 
create(K key,
       V value,
       long storeTime,
       int partitionId)
 | 
|
static
 | 
createWithNullKey(V value,
                  long storeTime)
Used to put staging area.  | 
|
static
 | 
createWithNullValue(K key,
                    long storeTime,
                    int partitionId)
Used to removal operations from map store.  | 
|
static
 | 
createWithOnlyKey(K key)
Used to query existing of a DelayedEntry. | 
|
 boolean | 
equals(Object o)
 | 
|
 K | 
getKey()
 | 
|
 int | 
getPartitionId()
 | 
|
 long | 
getStoreTime()
 | 
|
 V | 
getValue()
 | 
|
 int | 
hashCode()
 | 
|
 void | 
setStoreTime(long storeTime)
 | 
|
 String | 
toString()
 | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected final K key
protected long storeTime
| Method Detail | 
|---|
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 time
WriteBehindStore.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 time
public static <K,V> DelayedEntry<K,V> createWithOnlyKey(K key)
DelayedEntry.
K - the key type.V - the value type.key - to put.
public String toString()
toString in class Objectpublic K getKey()
public long getStoreTime()
public void setStoreTime(long storeTime)
public int getPartitionId()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||