Modifier and Type | Method and Description |
---|---|
static Deadline |
Deadline.fromNowWithClock(java.time.Duration duration,
Clock clock)
Constructs a Deadline that is a given duration after now, where now and all other times from
this deadline are defined by the given
Clock . |
Constructor and Description |
---|
CheckpointCoordinator(JobID job,
CheckpointCoordinatorConfiguration chkConfig,
Collection<OperatorCoordinatorCheckpointContext> coordinatorsToCheckpoint,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
CheckpointStorage checkpointStorage,
Executor executor,
CheckpointsCleaner checkpointsCleaner,
ScheduledExecutor timer,
CheckpointFailureManager failureManager,
CheckpointPlanCalculator checkpointPlanCalculator,
ExecutionAttemptMappingProvider attemptMappingProvider,
Clock clock,
CheckpointStatsTracker statsTracker,
java.util.function.BiFunction<Set<ExecutionJobVertex>,Map<OperatorID,OperatorState>,VertexFinishedStateChecker> vertexFinishedStateCheckerFactory) |
Modifier and Type | Field and Description |
---|---|
protected Clock |
AbstractSlotPoolServiceFactory.clock |
Modifier and Type | Method and Description |
---|---|
static PhysicalSlotRequestBulkCheckerImpl |
PhysicalSlotRequestBulkCheckerImpl.createFromSlotPool(SlotPool slotPool,
Clock clock) |
Constructor and Description |
---|
AbstractSlotPoolServiceFactory(Clock clock,
Time rpcTimeout,
Time slotIdleTimeout,
Time batchSlotTimeout) |
DeclarativeSlotPoolBridge(JobID jobId,
DeclarativeSlotPoolFactory declarativeSlotPoolFactory,
Clock clock,
Time rpcTimeout,
Time idleSlotTimeout,
Time batchSlotTimeout,
RequestSlotMatchingStrategy requestSlotMatchingStrategy) |
DeclarativeSlotPoolBridgeServiceFactory(Clock clock,
Time rpcTimeout,
Time slotIdleTimeout,
Time batchSlotTimeout,
RequestSlotMatchingStrategy requestSlotMatchingStrategy) |
DeclarativeSlotPoolService(JobID jobId,
DeclarativeSlotPoolFactory declarativeSlotPoolFactory,
Clock clock,
Time idleSlotTimeout,
Time rpcTimeout) |
DeclarativeSlotPoolServiceFactory(Clock clock,
Time idleSlotTimeout,
Time rpcTimeout) |
Constructor and Description |
---|
ThresholdMeter(double maxEventsPerInterval,
java.time.Duration interval,
Clock clock) |
TimerGauge(Clock clock) |
Constructor and Description |
---|
ThroughputCalculator(Clock clock) |
Modifier and Type | Method and Description |
---|---|
protected Clock |
CheckpointBarrierHandler.getClock() |
Modifier and Type | Method and Description |
---|---|
static SingleCheckpointBarrierHandler |
SingleCheckpointBarrierHandler.aligned(String taskName,
CheckpointableTask toNotifyOnCheckpoint,
Clock clock,
int numOpenChannels,
BarrierAlignmentUtil.DelayableTimer registerTimer,
boolean enableCheckpointAfterTasksFinished,
CheckpointableInput... inputs) |
static SingleCheckpointBarrierHandler |
SingleCheckpointBarrierHandler.alternating(String taskName,
CheckpointableTask toNotifyOnCheckpoint,
SubtaskCheckpointCoordinator checkpointCoordinator,
Clock clock,
int numOpenChannels,
BarrierAlignmentUtil.DelayableTimer registerTimer,
boolean enableCheckpointAfterTasksFinished,
CheckpointableInput... inputs) |
static SingleCheckpointBarrierHandler |
SingleCheckpointBarrierHandler.createUnalignedCheckpointBarrierHandler(SubtaskCheckpointCoordinator checkpointCoordinator,
String taskName,
CheckpointableTask toNotifyOnCheckpoint,
Clock clock,
boolean enableCheckpointsAfterTasksFinish,
CheckpointableInput... inputs) |
static long |
BarrierAlignmentUtil.getTimerDelay(Clock clock,
CheckpointBarrier announcedBarrier) |
static SingleCheckpointBarrierHandler |
SingleCheckpointBarrierHandler.unaligned(String taskName,
CheckpointableTask toNotifyOnCheckpoint,
SubtaskCheckpointCoordinator checkpointCoordinator,
Clock clock,
int numOpenChannels,
BarrierAlignmentUtil.DelayableTimer registerTimer,
boolean enableCheckpointAfterTasksFinished,
CheckpointableInput... inputs) |
Constructor and Description |
---|
CheckpointBarrierHandler(CheckpointableTask toNotifyOnCheckpoint,
Clock clock,
boolean enableCheckpointAfterTasksFinished) |
CheckpointBarrierTracker(int totalNumberOfInputChannels,
CheckpointableTask toNotifyOnCheckpoint,
Clock clock,
boolean enableCheckpointAfterTasksFinished) |
Modifier and Type | Class and Description |
---|---|
class |
ManualClock
A
Clock implementation which allows to advance time manually. |
class |
SystemClock
A clock that returns the time of the system / process.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.