public class SuperstepBarrier extends Object implements EventListener<TaskEvent>
| Constructor and Description |
|---|
SuperstepBarrier(ClassLoader userCodeClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
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
InterruptedExceptionpublic String[] getAggregatorNames()
public org.apache.flink.types.Value[] getAggregates()
public void onEvent(TaskEvent event)
onEvent in interface EventListener<TaskEvent>public boolean terminationSignaled()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.