org.apache.activemq.store.amq
Class AMQTxOperation
java.lang.Object
org.apache.activemq.store.amq.AMQTxOperation
public class AMQTxOperation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD_OPERATION_TYPE
public static final byte ADD_OPERATION_TYPE
- See Also:
- Constant Field Values
REMOVE_OPERATION_TYPE
public static final byte REMOVE_OPERATION_TYPE
- See Also:
- Constant Field Values
ACK_OPERATION_TYPE
public static final byte ACK_OPERATION_TYPE
- See Also:
- Constant Field Values
AMQTxOperation
public AMQTxOperation()
AMQTxOperation
public AMQTxOperation(byte operationType,
ActiveMQDestination destination,
Object data,
Location location)
getData
public Object getData()
- Returns:
- the data
setData
public void setData(Object data)
- Parameters:
data
- the data to set
getLocation
public Location getLocation()
- Returns:
- the location
setLocation
public void setLocation(Location location)
- Parameters:
location
- the location to set
getOperationType
public byte getOperationType()
- Returns:
- the operationType
setOperationType
public void setOperationType(byte operationType)
- Parameters:
operationType
- the operationType to set
replay
public boolean replay(AMQPersistenceAdapter adapter,
ConnectionContext context)
throws IOException
- Throws:
IOException
writeExternal
public void writeExternal(WireFormat wireFormat,
DataOutput dos)
throws IOException
- Throws:
IOException
readExternal
public void readExternal(WireFormat wireFormat,
DataInput dis)
throws IOException
- Throws:
IOException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.