java.io.Serializable
, java.lang.Cloneable
public static class AbstractReplicatedMap.MapMessage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field | 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 | Description |
---|---|
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 | Description |
---|---|---|
AbstractReplicatedMap.MapMessage |
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) |
|
void |
setKey(java.io.Serializable key) |
|
void |
setValue(java.io.Serializable value) |
|
java.lang.String |
toString() |
|
java.io.Serializable |
value(java.lang.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 static final int MSG_NOTIFY_MAPMEMBER
public static final int MSG_PING
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTypeDesc()
public void deserialize(java.lang.ClassLoader[] cls) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public 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.IOException
java.lang.ClassNotFoundException
public 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.IOException
java.lang.ClassNotFoundException
public 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)
public AbstractReplicatedMap.MapMessage clone()
clone
in class java.lang.Object
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.