org.jboss.cache.marshall
Class NodeData<K,V>
java.lang.Object
org.jboss.cache.marshall.NodeData<K,V>
- All Implemented Interfaces:
- Externalizable, Serializable
- Direct Known Subclasses:
- NodeDataExceptionMarker, NodeDataMarker
public class NodeData<K,V>
- extends Object
- implements 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
NodeData
public NodeData()
NodeData
public NodeData(Fqn fqn)
NodeData
public NodeData(Fqn fqn,
Map<K,V> attrs,
boolean mapSafe)
NodeData
public NodeData(String fqn,
Map<K,V> attrs,
boolean mapSafe)
getAttributes
public Map<K,V> getAttributes()
getFqn
public Fqn getFqn()
isMarker
public boolean isMarker()
isExceptionMarker
public boolean isExceptionMarker()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.