Class ShardReadTransaction
- java.lang.Object
-
- akka.actor.AbstractActor
-
- org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
-
- org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering
-
- org.opendaylight.controller.cluster.datastore.ShardTransaction
-
- org.opendaylight.controller.cluster.datastore.ShardReadTransaction
-
- All Implemented Interfaces:
Actor
,ExecuteInSelfActor
public class ShardReadTransaction extends ShardTransaction
Actor for a shard read transaction.- Author:
- syedbahm
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.Receive
-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
-
Field Summary
-
Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
LOG
-
-
Constructor Summary
Constructors Constructor Description ShardReadTransaction(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, ActorRef shardActor, org.opendaylight.controller.cluster.datastore.ShardStats shardStats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?>
getDOMStoreTransaction()
void
handleReceive(Object message)
Receive and handle an incoming message.protected boolean
returnCloseTransactionReply()
-
Methods inherited from class org.opendaylight.controller.cluster.datastore.ShardTransaction
dataExists, getShardActor, getTransactionId, props, readData
-
Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering
getActorNameOverride
-
Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, ignoreMessage, isValidSender, unknownMessage
-
Methods inherited from class akka.actor.AbstractActor
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled
-
-
-
-
Constructor Detail
-
ShardReadTransaction
public ShardReadTransaction(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, ActorRef shardActor, org.opendaylight.controller.cluster.datastore.ShardStats shardStats)
-
-
Method Detail
-
handleReceive
public void handleReceive(Object message)
Description copied from class:AbstractUntypedActor
Receive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)
orAbstractUntypedActor.unknownMessage(Object)
.- Overrides:
handleReceive
in classShardTransaction
- Parameters:
message
- the incoming message
-
getDOMStoreTransaction
protected org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> getDOMStoreTransaction()
- Specified by:
getDOMStoreTransaction
in classShardTransaction
-
returnCloseTransactionReply
protected boolean returnCloseTransactionReply()
- Overrides:
returnCloseTransactionReply
in classShardTransaction
-
-