public static class SlidingTimeWindow.SlidingTimeWindowContext extends Object implements Behavior.Context, Externalizable
Constructor and Description |
---|
SlidingTimeWindowContext() |
Modifier and Type | Method and Description |
---|---|
void |
add(EventFactHandle handle) |
EventFactHandle |
getExpiringHandle() |
Collection<EventFactHandle> |
getFactHandles() |
JobHandle |
getJobHandle() |
boolean |
isEmpty() |
EventFactHandle |
peek() |
EventFactHandle |
poll() |
void |
readExternal(ObjectInput in) |
EventFactHandle |
remove() |
void |
remove(EventFactHandle handle) |
void |
setExpiringHandle(EventFactHandle expiringHandle) |
void |
setExpiringTuple(EventFactHandle expiringHandle) |
void |
setJobHandle(JobHandle jobHandle) |
void |
writeExternal(ObjectOutput out) |
public JobHandle getJobHandle()
getJobHandle
in interface Behavior.Context
public void setJobHandle(JobHandle jobHandle)
setJobHandle
in interface Behavior.Context
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public EventFactHandle getExpiringHandle()
public void setExpiringHandle(EventFactHandle expiringHandle)
public void setExpiringTuple(EventFactHandle expiringHandle)
public void add(EventFactHandle handle)
public void remove(EventFactHandle handle)
public boolean isEmpty()
public EventFactHandle peek()
public EventFactHandle poll()
public EventFactHandle remove()
public Collection<EventFactHandle> getFactHandles()
getFactHandles
in interface Behavior.Context
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.