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(Object o) |
Member[] |
getBackupNodes() |
K |
getKey() |
Member |
getPrimary() |
V |
getValue() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isBackup() |
boolean |
isDiffable() |
boolean |
isKeySerializable() |
boolean |
isPrimary() |
boolean |
isProxy() |
boolean |
isSerializable() |
boolean |
isValueSerializable() |
void |
setBackup(boolean backup) |
void |
setBackupNodes(Member[] nodes) |
K |
setKey(K key) |
void |
setPrimary(Member m) |
void |
setProxy(boolean proxy) |
V |
setValue(V value) |
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 isDiffable()
public void setBackupNodes(Member[] nodes)
public Member[] getBackupNodes()
public void setPrimary(Member m)
public Member getPrimary()
public int hashCode()
public boolean equals(Object o)
public void apply(byte[] data, int offset, int length, boolean diff) throws IOException, ClassNotFoundException
data
- byte[]offset
- intlength
- intdiff
- booleanIOException
ClassNotFoundException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.