Class ShardTransaction

All Implemented Interfaces:
Actor, ExecuteInSelfActor
Direct Known Subclasses:
ShardReadTransaction, ShardWriteTransaction

@Deprecated(since="9.0.0", forRemoval=true) public abstract class ShardTransaction extends AbstractUntypedActorWithMetering
Deprecated, for removal: This API element is subject to removal in a future version.
The ShardTransaction Actor represents a remote transaction that delegates all actions to DOMDataReadWriteTransaction.
  • Constructor Details

    • ShardTransaction

      protected ShardTransaction(ActorRef shardActor, org.opendaylight.controller.cluster.datastore.ShardStats shardStats, TransactionIdentifier transactionId)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • props

      public static Props props(TransactionType type, org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, ActorRef shardActor, DatastoreContext datastoreContext, org.opendaylight.controller.cluster.datastore.ShardStats shardStats)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getDOMStoreTransaction

      protected abstract org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> getDOMStoreTransaction()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getShardActor

      protected ActorRef getShardActor()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTransactionId

      protected final TransactionIdentifier getTransactionId()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • handleReceive

      public void handleReceive(Object message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractUntypedActor
      Receive and handle an incoming message. If the implementation does not handle this particular message, it should call AbstractUntypedActor.ignoreMessage(Object) or AbstractUntypedActor.unknownMessage(Object).
      Specified by:
      handleReceive in class AbstractUntypedActor
      Parameters:
      message - the incoming message
    • returnCloseTransactionReply

      protected boolean returnCloseTransactionReply()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • readData

      protected void readData(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, ReadData message)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • dataExists

      protected void dataExists(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, DataExists message)
      Deprecated, for removal: This API element is subject to removal in a future version.