public static class AbstractReplicatedMap.MapEntry<K,V>
extends java.lang.Object
implements java.util.Map.Entry<K,V>
Constructor and Description |
---|
AbstractReplicatedMap.MapEntry(K key,
V value) |
Modifier and Type | Method and Description |
---|---|
void |
apply(byte[] data,
int offset,
int length,
boolean diff)
apply a diff, or an entire object
|
boolean |
equals(java.lang.Object o) |
Member[] |
getBackupNodes() |
K |
getKey() |
Member |
getPrimary() |
V |
getValue() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isBackup() |
boolean |
isCopy() |
boolean |
isDiffable() |
boolean |
isKeySerializable() |
boolean |
isPrimary() |
boolean |
isProxy() |
boolean |
isSerializable() |
boolean |
isValueSerializable() |
void |
setBackup(boolean backup) |
void |
setBackupNodes(Member[] nodes) |
void |
setCopy(boolean copy) |
K |
setKey(K key) |
void |
setPrimary(Member m) |
void |
setProxy(boolean proxy) |
V |
setValue(V value) |
java.lang.String |
toString() |
public boolean isKeySerializable()
public boolean isValueSerializable()
public boolean isSerializable()
public boolean isBackup()
public void setBackup(boolean backup)
public boolean isProxy()
public boolean isPrimary()
public boolean isActive()
public void setProxy(boolean proxy)
public boolean isCopy()
public void setCopy(boolean copy)
public boolean isDiffable()
public void setBackupNodes(Member[] nodes)
public Member[] getBackupNodes()
public void setPrimary(Member m)
public Member getPrimary()
public int hashCode()
public boolean equals(java.lang.Object o)
public void apply(byte[] data, int offset, int length, boolean diff) throws java.io.IOException, java.lang.ClassNotFoundException
data
- byte[]offset
- intlength
- intdiff
- booleanjava.io.IOException
java.lang.ClassNotFoundException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.