public interface CoordinatedAdapter
extends com.espertech.esper.runtime.client.util.InputAdapter
Modifier and Type | Method and Description |
---|---|
void |
disallowStateTransitions()
Disallow subsequent state changes and throw an IllegalStateTransitionException
if they are attempted.
|
SendableEvent |
read()
Get the next event in line to be sent into the runtime , or null if there is no available event.
|
void |
setRuntime(com.espertech.esper.runtime.client.EPRuntime runtime)
Set the runtime
|
void |
setScheduleSlot(long scheduleSlot)
Set the scheduleSlot for this Adapter.
|
void |
setUsingExternalTimer(boolean usingExternalTimer)
Set the usingExternalTimer value
|
void |
setUsingRuntimeThread(boolean usingRuntimeThread)
Set the usingRuntimeThread value
|
SendableEvent read() throws com.espertech.esper.common.client.EPException
com.espertech.esper.common.client.EPException
- in case of errors creating the eventvoid setUsingRuntimeThread(boolean usingRuntimeThread)
usingRuntimeThread
- - the value to setvoid setUsingExternalTimer(boolean usingExternalTimer)
usingExternalTimer
- - the value to setvoid disallowStateTransitions()
void setScheduleSlot(long scheduleSlot)
scheduleSlot
- - the scheduleSlot to setvoid setRuntime(com.espertech.esper.runtime.client.EPRuntime runtime)
runtime
- - the value to set