public static class AbstractReplicatedMap.MapMessage
extends java.lang.Object
implements java.io.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_NOTIFY_MAPMEMBER | 
| 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,
java.io.Serializable key,
java.io.Serializable value,
byte[] diffvalue,
Member primary,
Member[] nodes) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | clone()shallow clone | 
| void | deserialize(java.lang.ClassLoader[] cls) | 
| Member[] | getBackupNodes() | 
| byte[] | getDiffValue() | 
| java.io.Serializable | getKey() | 
| byte[] | getKeyData() | 
| byte[] | getMapId() | 
| int | getMsgType() | 
| Member | getPrimary() | 
| java.lang.String | getTypeDesc() | 
| java.io.Serializable | getValue() | 
| byte[] | getValueData() | 
| boolean | isDiff() | 
| java.io.Serializable | key(java.lang.ClassLoader[] cls) | 
| protected Member[] | readMembers(java.io.ObjectInput in)Deprecated. 
 Unused - will be removed in 8.0.x | 
| void | setKey(java.io.Serializable key) | 
| void | setValue(java.io.Serializable value) | 
| java.lang.String | toString() | 
| java.io.Serializable | value(java.lang.ClassLoader[] cls) | 
| protected void | writeMembers(java.io.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
@Deprecated public AbstractReplicatedMap.MapMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTypeDesc()
public void deserialize(java.lang.ClassLoader[] cls)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic int getMsgType()
public boolean isDiff()
public java.io.Serializable getKey()
public java.io.Serializable key(java.lang.ClassLoader[] cls)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic byte[] getKeyData()
public java.io.Serializable getValue()
public java.io.Serializable value(java.lang.ClassLoader[] cls)
                           throws java.io.IOException,
                                  java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic byte[] getValueData()
public byte[] getDiffValue()
public Member[] getBackupNodes()
public Member getPrimary()
public byte[] getMapId()
public void setValue(java.io.Serializable value)
public void setKey(java.io.Serializable key)
@Deprecated protected Member[] readMembers(java.io.ObjectInput in) throws java.io.IOException
java.io.IOException@Deprecated
protected void writeMembers(java.io.ObjectOutput out,
                           Member[] members)
                     throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object clone()
clone in class java.lang.ObjectCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.