public class FixedLifespanScheduler extends Object implements LifespanScheduler
LifespanScheduler
about thread safetyConstructor 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 LifespanScheduler
public void onLifespanFinished(Iterable<Lifespan> newlyCompletedDriverGroups)
onLifespanFinished
in interface LifespanScheduler
public com.google.common.util.concurrent.SettableFuture schedule(SourceScheduler scheduler)
schedule
in interface LifespanScheduler
Copyright © 2012–2019. All rights reserved.