| Package | Description |
|---|---|
| org.apache.flink.runtime.clusterframework |
This package contains the cluster resource management functionality.
|
| org.apache.flink.runtime.concurrent | |
| org.apache.flink.runtime.concurrent.akka | |
| org.apache.flink.runtime.dispatcher | |
| org.apache.flink.runtime.entrypoint | |
| org.apache.flink.runtime.executiongraph.restart | |
| org.apache.flink.runtime.heartbeat | |
| org.apache.flink.runtime.resourcemanager | |
| org.apache.flink.runtime.resourcemanager.slotmanager | |
| org.apache.flink.runtime.rpc | |
| org.apache.flink.runtime.rpc.akka | |
| org.apache.flink.runtime.webmonitor |
| Modifier and Type | Method and Description |
|---|---|
static WebMonitor |
BootstrapTools.startWebMonitorIfConfigured(org.apache.flink.configuration.Configuration config,
HighAvailabilityServices highAvailabilityServices,
LeaderGatewayRetriever<JobManagerGateway> jobManagerRetriever,
MetricQueryServiceRetriever queryServiceRetriever,
org.apache.flink.api.common.time.Time timeout,
ScheduledExecutor scheduledExecutor,
org.slf4j.Logger logger)
Starts the web frontend.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScheduledExecutorServiceAdapter
Adapter class for a
ScheduledExecutorService which shall be used as a
ScheduledExecutor. |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableFuture<T> |
FutureUtils.retrySuccessfulWithDelay(java.util.function.Supplier<CompletableFuture<T>> operation,
org.apache.flink.api.common.time.Time retryDelay,
org.apache.flink.api.common.time.Deadline deadline,
java.util.function.Predicate<T> acceptancePredicate,
ScheduledExecutor scheduledExecutor)
Retry the given operation with the given delay in between successful completions where the
result does not match a given predicate.
|
static <T> CompletableFuture<T> |
FutureUtils.retryWithDelay(java.util.function.Supplier<CompletableFuture<T>> operation,
int retries,
org.apache.flink.api.common.time.Time retryDelay,
java.util.function.Predicate<Throwable> retryPredicate,
ScheduledExecutor scheduledExecutor)
Retry the given operation with the given delay in between failures.
|
static <T> CompletableFuture<T> |
FutureUtils.retryWithDelay(java.util.function.Supplier<CompletableFuture<T>> operation,
int retries,
org.apache.flink.api.common.time.Time retryDelay,
ScheduledExecutor scheduledExecutor)
Retry the given operation with the given delay in between failures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActorSystemScheduledExecutorAdapter
Adapter to use a
ActorSystem as a ScheduledExecutor. |
| Constructor and Description |
|---|
FileArchivedExecutionGraphStore(File rootDir,
org.apache.flink.api.common.time.Time expirationTime,
long maximumCacheSizeBytes,
ScheduledExecutor scheduledExecutor,
org.apache.flink.shaded.guava18.com.google.common.base.Ticker ticker) |
| Modifier and Type | Method and Description |
|---|---|
protected ArchivedExecutionGraphStore |
SessionClusterEntrypoint.createSerializableExecutionGraphStore(org.apache.flink.configuration.Configuration configuration,
ScheduledExecutor scheduledExecutor) |
protected ArchivedExecutionGraphStore |
JobClusterEntrypoint.createSerializableExecutionGraphStore(org.apache.flink.configuration.Configuration configuration,
ScheduledExecutor scheduledExecutor) |
protected abstract ArchivedExecutionGraphStore |
ClusterEntrypoint.createSerializableExecutionGraphStore(org.apache.flink.configuration.Configuration configuration,
ScheduledExecutor scheduledExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
RestartStrategy.restart(RestartCallback restarter,
ScheduledExecutor executor)
Called by the ExecutionGraph to eventually trigger a full recovery.
|
void |
NoRestartStrategy.restart(RestartCallback restarter,
ScheduledExecutor executor) |
void |
FixedDelayRestartStrategy.restart(RestartCallback restarter,
ScheduledExecutor executor) |
void |
FailureRateRestartStrategy.restart(RestartCallback restarter,
ScheduledExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
<I,O> HeartbeatManager<I,O> |
HeartbeatServices.createHeartbeatManager(ResourceID resourceId,
HeartbeatListener<I,O> heartbeatListener,
ScheduledExecutor scheduledExecutor,
org.slf4j.Logger log)
Creates a heartbeat manager which does not actively send heartbeats.
|
<I,O> HeartbeatManager<I,O> |
HeartbeatServices.createHeartbeatManagerSender(ResourceID resourceId,
HeartbeatListener<I,O> heartbeatListener,
ScheduledExecutor scheduledExecutor,
org.slf4j.Logger log)
Creates a heartbeat manager which actively sends heartbeats to monitoring targets.
|
| Constructor and Description |
|---|
HeartbeatManagerImpl(long heartbeatTimeoutIntervalMs,
ResourceID ownResourceID,
HeartbeatListener<I,O> heartbeatListener,
Executor executor,
ScheduledExecutor scheduledExecutor,
org.slf4j.Logger log) |
HeartbeatManagerSenderImpl(long heartbeatPeriod,
long heartbeatTimeout,
ResourceID ownResourceID,
HeartbeatListener<I,O> heartbeatListener,
Executor executor,
ScheduledExecutor scheduledExecutor,
org.slf4j.Logger log) |
| Modifier and Type | Method and Description |
|---|---|
static ResourceManagerRuntimeServices |
ResourceManagerRuntimeServices.fromConfiguration(ResourceManagerRuntimeServicesConfiguration configuration,
HighAvailabilityServices highAvailabilityServices,
ScheduledExecutor scheduledExecutor) |
| Constructor and Description |
|---|
JobLeaderIdService(HighAvailabilityServices highAvailabilityServices,
ScheduledExecutor scheduledExecutor,
org.apache.flink.api.common.time.Time jobTimeout) |
| Constructor and Description |
|---|
SlotManager(ScheduledExecutor scheduledExecutor,
org.apache.flink.api.common.time.Time taskManagerRequestTimeout,
org.apache.flink.api.common.time.Time slotRequestTimeout,
org.apache.flink.api.common.time.Time taskManagerTimeout) |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutor |
RpcService.getScheduledExecutor()
Gets a scheduled executor from the RPC service.
|
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutor |
AkkaRpcService.getScheduledExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static WebMonitor |
WebMonitorUtils.startWebRuntimeMonitor(org.apache.flink.configuration.Configuration config,
HighAvailabilityServices highAvailabilityServices,
LeaderGatewayRetriever<JobManagerGateway> jobManagerRetriever,
MetricQueryServiceRetriever queryServiceRetriever,
org.apache.flink.api.common.time.Time timeout,
ScheduledExecutor scheduledExecutor)
Starts the web runtime monitor.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.