Class ShardTransaction

  • All Implemented Interfaces:
    akka.actor.Actor, org.opendaylight.controller.cluster.common.actor.ExecuteInSelfActor
    Direct Known Subclasses:
    ShardReadTransaction, ShardWriteTransaction

    public abstract class ShardTransaction
    extends org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering
    The ShardTransaction Actor represents a remote transaction that delegates all actions to DOMDataReadWriteTransaction.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class akka.actor.AbstractActor

        akka.actor.AbstractActor.ActorContext, akka.actor.AbstractActor.Receive
      • Nested classes/interfaces inherited from interface akka.actor.Actor

        akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
    • Field Summary

      • Fields inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor

        LOG
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ShardTransaction​(akka.actor.ActorRef shardActor, ShardStats shardStats, org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier transactionId)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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 org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier getTransactionId()  
      void handleReceive​(Object 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()  
      • 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

      • ShardTransaction

        protected ShardTransaction​(akka.actor.ActorRef shardActor,
                                   ShardStats shardStats,
                                   org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier transactionId)
    • Method Detail

      • props

        public static akka.actor.Props props​(TransactionType type,
                                             org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction,
                                             akka.actor.ActorRef shardActor,
                                             DatastoreContext datastoreContext,
                                             ShardStats shardStats)
      • getDOMStoreTransaction

        protected abstract org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> getDOMStoreTransaction()
      • getShardActor

        protected akka.actor.ActorRef getShardActor()
      • getTransactionId

        protected final org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier getTransactionId()
      • handleReceive

        public void handleReceive​(Object message)
        Specified by:
        handleReceive in class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
      • returnCloseTransactionReply

        protected boolean returnCloseTransactionReply()
      • readData

        protected void readData​(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction,
                                ReadData message)
      • dataExists

        protected void dataExists​(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction,
                                  DataExists message)