Package org.apache.activemq.command
Class ProducerId
java.lang.Object
org.apache.activemq.command.ProducerId
- All Implemented Interfaces:
DataStructure
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProducerId
(String producerKey) ProducerId
(ProducerId id) ProducerId
(SessionId sessionId, long producerId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte
long
long
getValue()
int
hashCode()
boolean
void
setConnectionId
(String connectionId) void
setSessionId
(long sessionId) void
setValue
(long producerId) toString()
-
Field Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
connectionId
-
sessionId
protected long sessionId -
value
protected long value -
hashCode
protected transient int hashCode -
key
-
parentId
-
-
Constructor Details
-
ProducerId
public ProducerId() -
ProducerId
-
ProducerId
-
ProducerId
-
-
Method Details
-
getParentId
-
hashCode
public int hashCode() -
equals
-
toString
-
getDataStructureType
public byte getDataStructureType()- Specified by:
getDataStructureType
in interfaceDataStructure
- Returns:
- The type of the data structure
-
getConnectionId
-
setConnectionId
-
getValue
public long getValue() -
setValue
public void setValue(long producerId) -
getSessionId
public long getSessionId() -
setSessionId
public void setSessionId(long sessionId) -
isMarshallAware
public boolean isMarshallAware()- Specified by:
isMarshallAware
in interfaceDataStructure
-