com.github.dreamhead.moco.action
Class MocoAsyncAction

java.lang.Object
  extended by com.github.dreamhead.moco.action.MocoAsyncAction
All Implemented Interfaces:
ConfigApplier<MocoEventAction>, MocoEventAction

public class MocoAsyncAction
extends java.lang.Object
implements MocoEventAction


Constructor Summary
MocoAsyncAction(MocoEventAction action, LatencyProcedure procedure)
           
 
Method Summary
 MocoEventAction apply(MocoConfig config)
           
 void execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MocoAsyncAction

public MocoAsyncAction(MocoEventAction action,
                       LatencyProcedure procedure)
Method Detail

execute

public void execute()
Specified by:
execute in interface MocoEventAction

apply

public MocoEventAction apply(MocoConfig config)
Specified by:
apply in interface ConfigApplier<MocoEventAction>