public class SuperstepBarrier extends Object implements EventListener<TaskEvent>
| 构造器和说明 |
|---|
SuperstepBarrier(ClassLoader userCodeClassLoader) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.types.Value[] |
getAggregates() |
String[] |
getAggregatorNames() |
void |
onEvent(TaskEvent event)
Barrier will release the waiting thread if an event occurs.
|
void |
setup()
Setup the barrier, has to be called at the beginning of each superstep.
|
boolean |
terminationSignaled() |
void |
waitForOtherWorkers()
Wait on the barrier.
|
public SuperstepBarrier(ClassLoader userCodeClassLoader)
public void setup()
public void waitForOtherWorkers()
throws InterruptedException
public String[] getAggregatorNames()
public org.apache.flink.types.Value[] getAggregates()
public void onEvent(TaskEvent event)
onEvent 在接口中 EventListener<TaskEvent>public boolean terminationSignaled()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.