org.apache.activemq.kaha
Class ContainerId
java.lang.Object
org.apache.activemq.kaha.ContainerId
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class ContainerId
- extends java.lang.Object
- implements java.io.Externalizable
Used by RootContainers
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ContainerId
public ContainerId()
ContainerId
public ContainerId(java.lang.Object key,
java.lang.String dataContainerName)
getDataContainerName
public java.lang.String getDataContainerName()
- Returns:
- Returns the dataContainerPrefix.
getKey
public java.lang.Object getKey()
- Returns:
- Returns the key.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
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
Copyright © 2005-2016. All Rights Reserved.