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.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
ConstructorsModifierConstructorDescriptionprotected
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 Summary
Modifier and TypeMethodDescriptionprotected 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.protected abstract org.opendaylight.controller.cluster.datastore.AbstractShardDataTreeTransaction<?>
Deprecated, for removal: This API element is subject to removal in a future version.protected ActorRef
Deprecated, for removal: This API element is subject to removal in a future version.protected final TransactionIdentifier
Deprecated, for removal: This API element is subject to removal in a future version.void
handleReceive
(Object message) Deprecated, for removal: This API element is subject to removal in a future version.Receive and handle an incoming message.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.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.protected boolean
Deprecated, for removal: This API element is subject to removal in a future version.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 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:AbstractUntypedActor
Receive and handle an incoming message. If the implementation does not handle this particular message, it should callAbstractUntypedActor.ignoreMessage(Object)
orAbstractUntypedActor.unknownMessage(Object)
.- Specified by:
handleReceive
in 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.
-