use of org.opendaylight.controller.cluster.datastore.messages.CloseTransactionReply in project controller by opendaylight.
the class ShardTransaction method closeTransaction.
private void closeTransaction(final boolean sendReply) {
getDOMStoreTransaction().abortFromTransactionActor();
shardActor.tell(new PersistAbortTransactionPayload(transactionId), ActorRef.noSender());
if (sendReply && returnCloseTransactionReply()) {
getSender().tell(new CloseTransactionReply(), getSelf());
}
getSelf().tell(PoisonPill.getInstance(), getSelf());
}
Aggregations