Class ConstantBasedConcurrencyControlStrategy
java.lang.Object
org.distributeme.core.concurrencycontrol.ConstantBasedConcurrencyControlStrategy
- All Implemented Interfaces:
ConcurrencyControlStrategy
public class ConstantBasedConcurrencyControlStrategy
extends Object
implements ConcurrencyControlStrategy
This implementation of a concurrencycontrolstrategy is based on constants which are annotated to the target interface.
- 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.toString()
-
Constructor Details
-
ConstantBasedConcurrencyControlStrategy
public ConstantBasedConcurrencyControlStrategy()
-
-
Method Details
-
customize
Called shortly after the initialization to customize this strategy according to the parameter in the annotation.- Specified by:
customizein interfaceConcurrencyControlStrategy- Parameters:
parameter- aStringobject.
-
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.
-
toString
-