public class TxQueueItem extends QueueItem
container, creationTime, data, itemId
Constructor and Description |
---|
TxQueueItem() |
TxQueueItem(QueueContainer container,
long itemId,
Data data) |
TxQueueItem(QueueItem item) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getId()
Returns type identifier for this class.
|
String |
getTransactionId() |
int |
hashCode() |
boolean |
isPollOperation() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
TxQueueItem |
setPollOperation(boolean pollOperation) |
TxQueueItem |
setTransactionId(String transactionId) |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
compareTo, getContainer, getCreationTime, getData, getFactoryId, getItemId, setData, setItemId
public TxQueueItem()
public TxQueueItem(QueueItem item)
public TxQueueItem(QueueContainer container, long itemId, Data data)
public String getTransactionId()
public TxQueueItem setTransactionId(String transactionId)
public boolean isPollOperation()
public TxQueueItem setPollOperation(boolean pollOperation)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class QueueItem
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class QueueItem
in
- inputIOException
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class QueueItem
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.