Class ShardWriteTransaction
- 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.ShardWriteTransaction
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Actor,ExecuteInSelfActor
- Direct Known Subclasses:
 ShardReadWriteTransaction
public class ShardWriteTransaction extends ShardTransaction
Actor for a shard write-only 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 ShardWriteTransaction(ReadWriteShardDataTreeTransaction transaction, ActorRef shardActor, org.opendaylight.controller.cluster.datastore.ShardStats shardStats) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddataExists(DataExists message)protected ReadWriteShardDataTreeTransactiongetDOMStoreTransaction()voidhandleReceive(Object message)Receive and handle an incoming message.protected voidreadData(ReadData message)- 
Methods inherited from class org.opendaylight.controller.cluster.datastore.ShardTransaction
dataExists, getShardActor, getTransactionId, props, readData, 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
- 
ShardWriteTransaction
public ShardWriteTransaction(ReadWriteShardDataTreeTransaction transaction, ActorRef shardActor, org.opendaylight.controller.cluster.datastore.ShardStats shardStats)
 
 - 
 
- 
Method Detail
- 
getDOMStoreTransaction
protected ReadWriteShardDataTreeTransaction getDOMStoreTransaction()
- Specified by:
 getDOMStoreTransactionin classShardTransaction
 
- 
handleReceive
public void handleReceive(Object message)
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).- Overrides:
 handleReceivein classShardTransaction- Parameters:
 message- the incoming message
 
- 
dataExists
protected final void dataExists(DataExists message)
 
- 
readData
protected final void readData(ReadData message)
 
 - 
 
 -