Class RequestSplitEvent
- java.lang.Object
-
- org.apache.flink.runtime.source.event.RequestSplitEvent
-
- All Implemented Interfaces:
Serializable,OperatorEvent
public final class RequestSplitEvent extends Object implements OperatorEvent
An event to request splits, sent typically from the Source Reader to the Source Enumerator.This event optionally carries the hostname of the location where the reader runs, to support locality-aware work assignment.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestSplitEvent()Creates a newRequestSplitEventwith no host information.RequestSplitEvent(String hostName)Creates a newRequestSplitEventwith a hostname.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringhostName()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.operators.coordination.OperatorEvent
isLossTolerant
-
-
-
-
Constructor Detail
-
RequestSplitEvent
public RequestSplitEvent()
Creates a newRequestSplitEventwith no host information.
-
RequestSplitEvent
public RequestSplitEvent(@Nullable String hostName)Creates a newRequestSplitEventwith a hostname.
-
-