Package org.apache.catalina.tribes.tipis
Class AbstractReplicatedMap.MapEntry<K,V>
- java.lang.Object
-
- org.apache.catalina.tribes.tipis.AbstractReplicatedMap.MapEntry<K,V>
-
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
- Enclosing class:
- AbstractReplicatedMap<K,V>
public static class AbstractReplicatedMap.MapEntry<K,V> extends java.lang.Object implements java.util.Map.Entry<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(byte[] data, int offset, int length, boolean diff)
apply a diff, or an entire objectboolean
equals(java.lang.Object o)
Member[]
getBackupNodes()
K
getKey()
Member
getPrimary()
V
getValue()
int
hashCode()
boolean
isActive()
boolean
isBackup()
boolean
isCopy()
boolean
isDiffable()
boolean
isKeySerializable()
boolean
isPrimary()
boolean
isProxy()
boolean
isSerializable()
boolean
isValueSerializable()
void
setBackup(boolean backup)
void
setBackupNodes(Member[] nodes)
void
setCopy(boolean copy)
K
setKey(K key)
void
setPrimary(Member m)
void
setProxy(boolean proxy)
V
setValue(V value)
java.lang.String
toString()
-
-
-
Method Detail
-
isKeySerializable
public boolean isKeySerializable()
-
isValueSerializable
public boolean isValueSerializable()
-
isSerializable
public boolean isSerializable()
-
isBackup
public boolean isBackup()
-
setBackup
public void setBackup(boolean backup)
-
isProxy
public boolean isProxy()
-
isPrimary
public boolean isPrimary()
-
isActive
public boolean isActive()
-
setProxy
public void setProxy(boolean proxy)
-
isCopy
public boolean isCopy()
-
setCopy
public void setCopy(boolean copy)
-
isDiffable
public boolean isDiffable()
-
setBackupNodes
public void setBackupNodes(Member[] nodes)
-
getBackupNodes
public Member[] getBackupNodes()
-
setPrimary
public void setPrimary(Member m)
-
getPrimary
public Member getPrimary()
-
hashCode
public int hashCode()
-
equals
public boolean equals(java.lang.Object o)
-
apply
public void apply(byte[] data, int offset, int length, boolean diff) throws java.io.IOException, java.lang.ClassNotFoundException
apply a diff, or an entire object- Parameters:
data
- byte[]offset
- intlength
- intdiff
- boolean- Throws:
java.io.IOException
- IO errorjava.lang.ClassNotFoundException
- Deserialization error
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-