com.hammurapi.flow.runtime
Interface SynapseFactory.SynapseConfig

Enclosing interface:
SynapseFactory<K,S,A>

public static interface SynapseFactory.SynapseConfig

Synapse config to parameterize synapse.

Author:
Pavel Vlasov

Method Summary
 long getDelay()
           
 long getPeriod()
           
 TimeUnit getTimeUnit()
           
 boolean isInline()
          If this method returns true, invocation shall occur in the same thread.
 

Method Detail

getDelay

long getDelay()
Returns:
Delay before invocation execution. Non-positive value means no delay.

getPeriod

long getPeriod()
Returns:
Period for repeated executions. Non-positive value means no delay.

getTimeUnit

TimeUnit getTimeUnit()
Returns:
Time unit for delay and interval.

isInline

boolean isInline()
If this method returns true, invocation shall occur in the same thread.

Returns: