org.apache.catalina.tribes.tipis

Class AbstractReplicatedMap.MapEntry

public static class AbstractReplicatedMap.MapEntry extends Object implements Entry

Constructor Summary
MapEntry(Object key, Object value)
Method Summary
voidapply(byte[] data, int offset, int length, boolean diff)
apply a diff, or an entire object
booleanequals(Object o)
Member[]getBackupNodes()
ObjectgetKey()
MembergetPrimary()
ObjectgetValue()
inthashCode()
booleanisBackup()
booleanisDiffable()
booleanisKeySerializable()
booleanisPrimary()
booleanisProxy()
booleanisSerializable()
booleanisValueSerializable()
voidsetBackup(boolean backup)
voidsetBackupNodes(Member[] nodes)
ObjectsetKey(Object key)
voidsetPrimary(Member m)
voidsetProxy(boolean proxy)
ObjectsetValue(Object value)
StringtoString()

Constructor Detail

MapEntry

public MapEntry(Object key, Object value)

Method Detail

apply

public void apply(byte[] data, int offset, int length, boolean diff)
apply a diff, or an entire object

Parameters: data byte[] offset int length int diff boolean

Throws: IOException ClassNotFoundException

equals

public boolean equals(Object o)

getBackupNodes

public Member[] getBackupNodes()

getKey

public Object getKey()

getPrimary

public Member getPrimary()

getValue

public Object getValue()

hashCode

public int hashCode()

isBackup

public boolean isBackup()

isDiffable

public boolean isDiffable()

isKeySerializable

public boolean isKeySerializable()

isPrimary

public boolean isPrimary()

isProxy

public boolean isProxy()

isSerializable

public boolean isSerializable()

isValueSerializable

public boolean isValueSerializable()

setBackup

public void setBackup(boolean backup)

setBackupNodes

public void setBackupNodes(Member[] nodes)

setKey

public Object setKey(Object key)

setPrimary

public void setPrimary(Member m)

setProxy

public void setProxy(boolean proxy)

setValue

public Object setValue(Object value)

toString

public String toString()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.