this.pollOperation = pollOperation;
this.transactionId = transactionId;
}
public void run() throws Exception {
QueueContainer container = getOrCreateContainer();
if (pollOperation) {
container.txnPollBackupReserve(itemId, transactionId);
} else {
container.txnOfferBackupReserve(itemId, transactionId);
}
response = true;
}