org.jboss.cache.marshall
Class NodeData<K,V>
java.lang.Object
org.jboss.cache.marshall.NodeData<K,V>
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- Direct Known Subclasses:
- NodeDataExceptionMarker, NodeDataMarker
public class NodeData<K,V>
- extends java.lang.Object
- implements java.io.Externalizable
Serializable representation of the data of a node (FQN and attributes)
- Version:
- $Id: NodeData.java 7168 2008-11-19 17:37:20Z jason.greene@jboss.com $
- Author:
- Bela Ban
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NodeData
public NodeData()
NodeData
public NodeData(Fqn fqn)
NodeData
public NodeData(Fqn fqn,
java.util.Map<K,V> attrs,
boolean mapSafe)
NodeData
public NodeData(java.lang.String fqn,
java.util.Map<K,V> attrs,
boolean mapSafe)
getAttributes
public java.util.Map<K,V> getAttributes()
getFqn
public Fqn getFqn()
isMarker
public boolean isMarker()
isExceptionMarker
public boolean isExceptionMarker()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.