public class FixedLifespanScheduler extends Object implements LifespanScheduler
LifespanScheduler about thread safety| Constructor and Description |
|---|
FixedLifespanScheduler(BucketNodeMap bucketNodeMap,
List<ConnectorPartitionHandle> partitionHandles,
OptionalInt concurrentLifespansPerTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
onLifespanFinished(Iterable<Lifespan> newlyCompletedDriverGroups) |
com.google.common.util.concurrent.SettableFuture |
schedule(SourceScheduler scheduler) |
void |
scheduleInitial(SourceScheduler scheduler) |
public FixedLifespanScheduler(BucketNodeMap bucketNodeMap, List<ConnectorPartitionHandle> partitionHandles, OptionalInt concurrentLifespansPerTask)
public void scheduleInitial(SourceScheduler scheduler)
scheduleInitial in interface LifespanSchedulerpublic void onLifespanFinished(Iterable<Lifespan> newlyCompletedDriverGroups)
onLifespanFinished in interface LifespanSchedulerpublic com.google.common.util.concurrent.SettableFuture schedule(SourceScheduler scheduler)
schedule in interface LifespanSchedulerCopyright © 2012–2019. All rights reserved.