public static class AbstractReplicatedMap.MapMessage extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
MSG_ACCESS |
static int |
MSG_BACKUP |
static int |
MSG_COPY |
static int |
MSG_INIT |
static int |
MSG_PROXY |
static int |
MSG_REMOVE |
static int |
MSG_RETRIEVE_BACKUP |
static int |
MSG_START |
static int |
MSG_STATE |
static int |
MSG_STATE_COPY |
static int |
MSG_STOP |
Constructor and Description |
---|
AbstractReplicatedMap.MapMessage(byte[] mapId,
int msgtype,
boolean diff,
Serializable key,
Serializable value,
byte[] diffvalue,
Member primary,
Member[] nodes) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
shallow clone
|
void |
deserialize(ClassLoader[] cls) |
Member[] |
getBackupNodes() |
byte[] |
getDiffValue() |
Serializable |
getKey() |
byte[] |
getKeyData() |
byte[] |
getMapId() |
int |
getMsgType() |
Member |
getPrimary() |
String |
getTypeDesc() |
Serializable |
getValue() |
byte[] |
getValueData() |
boolean |
isDiff() |
Serializable |
key(ClassLoader[] cls) |
void |
setKey(Serializable key) |
void |
setValue(Serializable value) |
String |
toString() |
Serializable |
value(ClassLoader[] cls) |
public static final int MSG_BACKUP
public static final int MSG_RETRIEVE_BACKUP
public static final int MSG_PROXY
public static final int MSG_REMOVE
public static final int MSG_STATE
public static final int MSG_START
public static final int MSG_STOP
public static final int MSG_INIT
public static final int MSG_COPY
public static final int MSG_STATE_COPY
public static final int MSG_ACCESS
public AbstractReplicatedMap.MapMessage(byte[] mapId, int msgtype, boolean diff, Serializable key, Serializable value, byte[] diffvalue, Member primary, Member[] nodes)
public String getTypeDesc()
public void deserialize(ClassLoader[] cls) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public int getMsgType()
public boolean isDiff()
public Serializable getKey()
public Serializable key(ClassLoader[] cls) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public byte[] getKeyData()
public Serializable getValue()
public Serializable value(ClassLoader[] cls) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public byte[] getValueData()
public byte[] getDiffValue()
public Member[] getBackupNodes()
public Member getPrimary()
public byte[] getMapId()
public void setValue(Serializable value)
public void setKey(Serializable key)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.