public static class AbstractReplicatedMap.MapMessage extends Object implements Serializable, Cloneable
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_NOTIFY_MAPMEMBER |
static int |
MSG_PING |
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()
Deprecated.
Unused - will be removed in Tomcat 8.0.x
|
AbstractReplicatedMap.MapMessage(byte[] mapId,
int msgtype,
boolean diff,
Serializable key,
Serializable value,
byte[] diffvalue,
Member primary,
Member[] nodes) |
Modifier and Type | Method and Description |
---|---|
AbstractReplicatedMap.MapMessage |
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) |
protected Member[] |
readMembers(ObjectInput in)
Deprecated.
Unused - will be removed in 8.0.x
|
void |
setKey(Serializable key) |
void |
setValue(Serializable value) |
String |
toString() |
Serializable |
value(ClassLoader[] cls) |
protected void |
writeMembers(ObjectOutput out,
Member[] members)
Deprecated.
Unused - will be removed in 8.0.x
|
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 static final int MSG_NOTIFY_MAPMEMBER
public static final int MSG_PING
@Deprecated public AbstractReplicatedMap.MapMessage()
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)
@Deprecated protected Member[] readMembers(ObjectInput in) throws IOException
IOException
@Deprecated protected void writeMembers(ObjectOutput out, Member[] members) throws IOException
IOException
public AbstractReplicatedMap.MapMessage clone()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.