Package org.apache.activemq.command
Class LocalTransactionId
java.lang.Object
org.apache.activemq.command.TransactionId
org.apache.activemq.command.LocalTransactionId
- All Implemented Interfaces:
Comparable<LocalTransactionId>
,DataStructure
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
byte
long
getValue()
int
hashCode()
boolean
boolean
void
setConnectionId
(ConnectionId connectionId) void
setValue
(long transactionId) toString()
Methods inherited from class org.apache.activemq.command.TransactionId
isMarshallAware
-
Field Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
connectionId
-
value
protected long value
-
-
Constructor Details
-
LocalTransactionId
public LocalTransactionId() -
LocalTransactionId
-
-
Method Details
-
getDataStructureType
public byte getDataStructureType()- Specified by:
getDataStructureType
in interfaceDataStructure
- Returns:
- The type of the data structure
-
isXATransaction
public boolean isXATransaction()- Specified by:
isXATransaction
in classTransactionId
-
isLocalTransaction
public boolean isLocalTransaction()- Specified by:
isLocalTransaction
in classTransactionId
-
getTransactionKey
- Specified by:
getTransactionKey
in classTransactionId
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LocalTransactionId>
- Parameters:
o
-- Returns:
- See Also:
-
getValue
public long getValue() -
setValue
public void setValue(long transactionId) -
getConnectionId
-
setConnectionId
-