public interface CoordinatedAdapter
extends com.espertech.esper.adapter.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 |
setEPService(com.espertech.esper.client.EPServiceProvider epService)
Set the epService
|
void |
setScheduleSlot(long scheduleSlot)
Set the scheduleSlot for this Adapter.
|
void |
setUsingEngineThread(boolean usingEngineThread)
Set the usingEngineThread value
|
void |
setUsingExternalTimer(boolean usingExternalTimer)
Set the usingExternalTimer value
|
SendableEvent read() throws com.espertech.esper.client.EPException
com.espertech.esper.client.EPException
- in case of errors creating the eventvoid setUsingEngineThread(boolean usingEngineThread)
usingEngineThread
- - the value to setvoid setUsingExternalTimer(boolean usingExternalTimer)
usingExternalTimer
- - the value to setvoid disallowStateTransitions()
void setScheduleSlot(long scheduleSlot)
scheduleSlot
- - the scheduleSlot to setvoid setEPService(com.espertech.esper.client.EPServiceProvider epService)
epService
- - the value to set