public abstract class ShardTransaction extends AbstractUntypedActorWithMetering
LOG
Modifier | Constructor and Description |
---|---|
protected |
ShardTransaction(akka.actor.ActorRef shardActor,
ShardStats shardStats,
TransactionIdentifier transactionId) |
Modifier and Type | Method and Description |
---|---|
protected void |
dataExists(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction,
DataExists message) |
protected abstract org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> |
getDOMStoreTransaction() |
protected akka.actor.ActorRef |
getShardActor() |
protected TransactionIdentifier |
getTransactionId() |
void |
handleReceive(Object message)
Receive and handle an incoming message.
|
static akka.actor.Props |
props(TransactionType type,
org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction,
akka.actor.ActorRef shardActor,
DatastoreContext datastoreContext,
ShardStats shardStats) |
protected void |
readData(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction,
ReadData message) |
protected boolean |
returnCloseTransactionReply() |
getActorNameOverride
executeInSelf, ignoreMessage, isValidSender, onReceive, unknownMessage
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
protected ShardTransaction(akka.actor.ActorRef shardActor, ShardStats shardStats, TransactionIdentifier transactionId)
public static akka.actor.Props props(TransactionType type, org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, akka.actor.ActorRef shardActor, DatastoreContext datastoreContext, ShardStats shardStats)
protected abstract org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> getDOMStoreTransaction()
protected akka.actor.ActorRef getShardActor()
protected final TransactionIdentifier getTransactionId()
public void handleReceive(Object message)
AbstractUntypedActor
AbstractUntypedActor.ignoreMessage(Object)
or AbstractUntypedActor.unknownMessage(Object)
.handleReceive
in class AbstractUntypedActor
message
- the incoming messageprotected boolean returnCloseTransactionReply()
protected void readData(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, ReadData message)
protected void dataExists(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, DataExists message)
Copyright © 2019 OpenDaylight. All rights reserved.