Class AbstractConcurrencyControlStrategy
java.lang.Object
org.distributeme.core.concurrencycontrol.AbstractConcurrencyControlStrategy
- All Implemented Interfaces:
ConcurrencyControlStrategy
- Direct Known Subclasses:
UnlimitedConcurrencyStrategy
public abstract class AbstractConcurrencyControlStrategy
extends Object
implements ConcurrencyControlStrategy
Base implementation of a ConcurrencyControlStrategy which is not doing anything. You can use it as base adapter and overwrite classes you need.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled shortly after the initialization to customize this strategy according to the parameter in the annotation.voidCalled by the stub after the call is finished.voidCalled by the stub before the call is executed.voidCalled by the skeleton after the call is finished.voidCalled by the skeleton before the call is executed.
-
Constructor Details
-
AbstractConcurrencyControlStrategy
public AbstractConcurrencyControlStrategy()
-
-
Method Details
-
notifyClientSideCallStarted
Called by the stub before the call is executed.- Specified by:
notifyClientSideCallStartedin interfaceConcurrencyControlStrategy- Parameters:
context- aClientSideCallContextobject.
-
notifyClientSideCallFinished
Called by the stub after the call is finished.- Specified by:
notifyClientSideCallFinishedin interfaceConcurrencyControlStrategy- Parameters:
context- aClientSideCallContextobject.
-
notifyServerSideCallStarted
Called by the skeleton before the call is executed.- Specified by:
notifyServerSideCallStartedin interfaceConcurrencyControlStrategy- Parameters:
context- aServerSideCallContextobject.
-
notifyServerSideCallFinished
Called by the skeleton after the call is finished.- Specified by:
notifyServerSideCallFinishedin interfaceConcurrencyControlStrategy- Parameters:
context- aServerSideCallContextobject.
-
customize
Called shortly after the initialization to customize this strategy according to the parameter in the annotation.- Specified by:
customizein interfaceConcurrencyControlStrategy- Parameters:
parameter- aStringobject.
-