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
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class QueueItem
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class QueueItem
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.