org.apache.activemq.kaha
Class ContainerId
java.lang.Object
org.apache.activemq.kaha.ContainerId
- All Implemented Interfaces:
- Externalizable, Serializable
public class ContainerId
- extends Object
- implements Externalizable
Used by RootContainers
- Version:
- $Revision: 1.1.1.1 $
- See Also:
- Serialized Form
ContainerId
public ContainerId()
ContainerId
public ContainerId(Object key,
String dataContainerName)
getDataContainerName
public String getDataContainerName()
- Returns:
- Returns the dataContainerPrefix.
getKey
public Object getKey()
- Returns:
- Returns the key.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
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
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.