Class ShardTransaction
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
- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class akka.actor.AbstractActor
AbstractActor.ActorContext, AbstractActor.ReceiveNested 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
ConstructorsModifierConstructorDescriptionprotectedShardTransaction(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 Summary
Modifier and TypeMethodDescriptionprotected voiddataExists(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, DataExists message) Deprecated, for removal: This API element is subject to removal in a future version.protected abstract org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> Deprecated, for removal: This API element is subject to removal in a future version.protected ActorRefDeprecated, for removal: This API element is subject to removal in a future version.protected final TransactionIdentifierDeprecated, for removal: This API element is subject to removal in a future version.voidhandleReceive(Object message) Deprecated, for removal: This API element is subject to removal in a future version.Receive and handle an incoming message.static Propsprops(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.protected voidreadData(org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?> transaction, ReadData message) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering
getActorNameOverrideMethods inherited from class org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor
createReceive, executeInSelf, ignoreMessage, isValidSender, unknownMessageMethods 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 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
Deprecated, for removal: This API element is subject to removal in a future version. -
getTransactionId
Deprecated, for removal: This API element is subject to removal in a future version. -
handleReceive
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractUntypedActorReceive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)orAbstractUntypedActor.unknownMessage(Object).- Specified by:
handleReceivein classAbstractUntypedActor- 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.
-