Package org.drools.core.rule
Class SlidingTimeWindow.SlidingTimeWindowContext
java.lang.Object
org.drools.core.rule.SlidingTimeWindow.SlidingTimeWindowContext
- All Implemented Interfaces:
Externalizable,Serializable,BehaviorContext
- Enclosing class:
- SlidingTimeWindow
public static class SlidingTimeWindow.SlidingTimeWindowContext
extends Object
implements BehaviorContext, Externalizable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(DefaultEventHandle handle) booleanisEmpty()peek()poll()voidremove()voidremove(DefaultEventHandle handle) voidsetJobHandle(JobHandle jobHandle) void
-
Constructor Details
-
SlidingTimeWindowContext
public SlidingTimeWindowContext()
-
-
Method Details
-
getJobHandle
- Specified by:
getJobHandlein interfaceBehaviorContext
-
setJobHandle
- Specified by:
setJobHandlein interfaceBehaviorContext
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
add
-
remove
-
isEmpty
public boolean isEmpty() -
peek
-
poll
-
remove
-
getFactHandles
- Specified by:
getFactHandlesin interfaceBehaviorContext
-