org.jgroups.blocks
Class TransactionalHashtable.Data
java.lang.Object
org.jgroups.blocks.TransactionalHashtable.Data
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- Enclosing class:
- TransactionalHashtable
- public static class TransactionalHashtable.Data
- extends java.lang.Object
- implements java.io.Externalizable
Class used to transport updates to all replicas
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PUT
public static final int PUT
- See Also:
- Constant Field Values
PUT_ALL
public static final int PUT_ALL
- See Also:
- Constant Field Values
REMOVE
public static final int REMOVE
- See Also:
- Constant Field Values
CLEAR
public static final int CLEAR
- See Also:
- Constant Field Values
TransactionalHashtable.Data
public TransactionalHashtable.Data()
- Used by externalization
TransactionalHashtable.Data
public TransactionalHashtable.Data(int request_type)
TransactionalHashtable.Data
public TransactionalHashtable.Data(int request_type,
java.io.Serializable key,
java.io.Serializable value)
TransactionalHashtable.Data
public TransactionalHashtable.Data(int request_type,
java.io.Serializable key)
TransactionalHashtable.Data
public TransactionalHashtable.Data(int request_type,
java.util.Map map)
TransactionalHashtable.Data
public TransactionalHashtable.Data(int request_type,
java.io.Serializable key,
java.io.Serializable value,
java.util.Map map)
getRequestType
public int getRequestType()
getKey
public java.io.Serializable getKey()
getValue
public java.io.Serializable getValue()
getMap
public java.util.Map getMap()
toString
public java.lang.String toString()
requestToString
public java.lang.String requestToString(int r)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.