A C D E F G H I L M N O R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AddressResolution - Enum in org.apache.flink.runtime.rpc
-
Enum specifying whether address resolution should be tried.
- assertRunningInMainThread() - Method in interface org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor
-
Returns true if the method was called in the thread of this executor.
- assertRunningInMainThread() - Method in class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
- assertRunningInMainThread() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
C
- callAsync(Callable<V>, Duration) - Method in interface org.apache.flink.runtime.rpc.MainThreadExecutable
-
Execute the callable in the main thread of the underlying RPC endpoint and return a future for the callable result.
- callAsync(Callable<V>, Duration) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Execute the callable in the main thread of the underlying RPC service, returning a future for the result of the callable.
- CallAsync - Class in org.apache.flink.runtime.rpc.messages
-
Message for asynchronous callable invocations.
- CallAsync(Callable<?>) - Constructor for class org.apache.flink.runtime.rpc.messages.CallAsync
- cancel(boolean) - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- ClassLoadingUtils - Class in org.apache.flink.runtime.concurrent
-
Classloading utilities.
- ClassLoadingUtils() - Constructor for class org.apache.flink.runtime.concurrent.ClassLoadingUtils
- CleanupOnCloseRpcSystem - Class in org.apache.flink.runtime.rpc
-
An
RpcSystemwrapper that cleans up resources after the RPC system has been closed. - CleanupOnCloseRpcSystem(RpcSystem, SubmoduleClassLoader, Path) - Constructor for class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- close() - Method in class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- close() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
-
Shutdown the
ScheduledThreadPoolExecutorand remove all the pending tasks. - close() - Method in interface org.apache.flink.runtime.rpc.RpcSystem
-
Hook to cleanup resources, like common thread pools or classloaders.
- closeAsync() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Triggers the shut down of the rpc endpoint.
- compareTo(Delayed) - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- ComponentMainThreadExecutor - Interface in org.apache.flink.runtime.concurrent
-
Interface for an executor that runs tasks in the main thread of an
RpcEndpoint. - ComponentMainThreadExecutor.DummyComponentMainThreadExecutor - Class in org.apache.flink.runtime.concurrent
-
Dummy implementation of ComponentMainThreadExecutor.
- connect(String, F, Class<C>) - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Connect to a remote fenced rpc server under the provided address.
- connect(String, Class<C>) - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Connect to a remote rpc server under the provided address.
- convertRpcToString(String, String, Class<?>[]) - Static method in interface org.apache.flink.runtime.rpc.messages.RpcInvocation
-
Converts a rpc call into its string representation.
- createAndStart() - Method in interface org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
- createRandomName(String) - Static method in class org.apache.flink.runtime.rpc.RpcServiceUtils
-
Creates a random name of the form prefix_X, where X is an increasing number.
- createRemoteRpcService(RpcSystem, Configuration, String, String, String, Optional<Integer>) - Static method in class org.apache.flink.runtime.rpc.RpcUtils
-
Convenient shortcut for constructing a remote RPC Service that takes care of checking for null and empty optionals.
- createWildcardName(String) - Static method in class org.apache.flink.runtime.rpc.RpcServiceUtils
-
Creates a wildcard name symmetric to
RpcServiceUtils.createRandomName(String).
D
- DummyComponentMainThreadExecutor(String) - Constructor for class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
E
- EndpointNotStartedException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Exception which is thrown if an endpoint has not been started (yet).
- EndpointNotStartedException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.EndpointNotStartedException
- enterMainThread() - Method in class org.apache.flink.runtime.rpc.MainThreadValidatorUtil
- equals(Object) - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- execute(Runnable) - Method in class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
- execute(Runnable) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
- exitMainThread() - Method in class org.apache.flink.runtime.rpc.MainThreadValidatorUtil
- extractImplementedRpcGateways(Class<?>) - Static method in class org.apache.flink.runtime.rpc.RpcUtils
-
Extracts all
RpcGatewayinterfaces implemented by the given clazz. - extractRpcTimeout(Annotation[][], Object[], Duration) - Static method in class org.apache.flink.runtime.rpc.RpcGatewayUtils
-
Extracts the
RpcTimeoutannotated rpc timeout value from the list of given method arguments.
F
- FatalErrorHandler - Interface in org.apache.flink.runtime.rpc
-
Handler for fatal errors.
- FencedMessage<F extends Serializable,P> - Interface in org.apache.flink.runtime.rpc.messages
-
Interface for fenced messages.
- FencedRpcEndpoint<F extends Serializable> - Class in org.apache.flink.runtime.rpc
-
Base class for fenced
RpcEndpoint. - FencedRpcEndpoint(RpcService, F) - Constructor for class org.apache.flink.runtime.rpc.FencedRpcEndpoint
- FencedRpcEndpoint(RpcService, String, F) - Constructor for class org.apache.flink.runtime.rpc.FencedRpcEndpoint
- FencedRpcEndpoint(RpcService, String, F, Map<String, String>) - Constructor for class org.apache.flink.runtime.rpc.FencedRpcEndpoint
- FencedRpcGateway<F extends Serializable> - Interface in org.apache.flink.runtime.rpc
-
Fenced
RpcGateway. - FencingTokenException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Exception which is thrown if the fencing tokens of a
FencedRpcEndpointdo not match. - FencingTokenException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.FencingTokenException
- FencingTokenException(String, Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.FencingTokenException
- FencingTokenException(Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.FencingTokenException
- FixedThreadPoolExecutorConfiguration(int, int, int) - Constructor for class org.apache.flink.runtime.rpc.RpcSystem.FixedThreadPoolExecutorConfiguration
- ForkJoinExecutorConfiguration(double, int, int) - Constructor for class org.apache.flink.runtime.rpc.RpcSystem.ForkJoinExecutorConfiguration
G
- get() - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- get(long, TimeUnit) - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- getAddress() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Gets the address of the underlying RPC endpoint.
- getAddress() - Method in interface org.apache.flink.runtime.rpc.RpcGateway
-
Returns the fully qualified address under which the associated rpc endpoint is reachable.
- getAddress() - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Return the hostname or host address under which the rpc service can be reached.
- getArgs() - Method in class org.apache.flink.runtime.rpc.messages.LocalRpcInvocation
- getArgs() - Method in class org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation
- getArgs() - Method in interface org.apache.flink.runtime.rpc.messages.RpcInvocation
-
Returns the arguments of the remote procedure call.
- getCallable() - Method in class org.apache.flink.runtime.rpc.messages.CallAsync
- getDelay(TimeUnit) - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- getEndpointId() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Returns the rpc endpoint's identifier.
- getFencingToken() - Method in class org.apache.flink.runtime.rpc.FencedRpcEndpoint
- getFencingToken() - Method in interface org.apache.flink.runtime.rpc.FencedRpcGateway
-
Get the current fencing token.
- getFencingToken() - Method in interface org.apache.flink.runtime.rpc.messages.FencedMessage
- getFencingToken() - Method in class org.apache.flink.runtime.rpc.messages.LocalFencedMessage
- getFencingToken() - Method in class org.apache.flink.runtime.rpc.messages.RemoteFencedMessage
- getHostname() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Gets the hostname of the underlying RPC endpoint.
- getHostname() - Method in interface org.apache.flink.runtime.rpc.RpcGateway
-
Returns the fully qualified hostname under which the associated rpc endpoint is reachable.
- getHostname(RpcService) - Static method in class org.apache.flink.runtime.rpc.RpcUtils
-
Returns the hostname onto which the given
RpcServicehas been bound. - getInetSocketAddressFromRpcUrl(String) - Method in class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- getInetSocketAddressFromRpcUrl(String) - Method in interface org.apache.flink.runtime.rpc.RpcSystemUtils
-
Returns an
InetSocketAddresscorresponding to the given RPC url. - getLoadPriority() - Method in interface org.apache.flink.runtime.rpc.RpcSystemLoader
-
Returns the loading priority for this loader, for a deterministic loading order if multiple rpc system loaders are present on the classpath.
- getMainThreadExecutor() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Gets the main thread execution context.
- getMainThreadExecutor(JobID) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Gets the main thread execution context.
- getMaximumMessageSizeInBytes(Configuration) - Method in class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- getMaximumMessageSizeInBytes(Configuration) - Method in interface org.apache.flink.runtime.rpc.RpcSystemUtils
-
Returns the maximum number of bytes that an RPC message may carry according to the given configuration.
- getMaxNumThreads() - Method in class org.apache.flink.runtime.rpc.RpcSystem.FixedThreadPoolExecutorConfiguration
- getMaxParallelism() - Method in class org.apache.flink.runtime.rpc.RpcSystem.ForkJoinExecutorConfiguration
- getMethodName() - Method in class org.apache.flink.runtime.rpc.messages.LocalRpcInvocation
- getMethodName() - Method in class org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation
- getMethodName() - Method in interface org.apache.flink.runtime.rpc.messages.RpcInvocation
-
Returns the method's name.
- getMinNumThreads() - Method in class org.apache.flink.runtime.rpc.RpcSystem.FixedThreadPoolExecutorConfiguration
- getMinParallelism() - Method in class org.apache.flink.runtime.rpc.RpcSystem.ForkJoinExecutorConfiguration
- getParallelismFactor() - Method in class org.apache.flink.runtime.rpc.RpcSystem.ForkJoinExecutorConfiguration
- getParameterTypes() - Method in class org.apache.flink.runtime.rpc.messages.LocalRpcInvocation
- getParameterTypes() - Method in class org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation
- getParameterTypes() - Method in interface org.apache.flink.runtime.rpc.messages.RpcInvocation
-
Returns the method's parameter types.
- getPayload() - Method in interface org.apache.flink.runtime.rpc.messages.FencedMessage
- getPayload() - Method in class org.apache.flink.runtime.rpc.messages.LocalFencedMessage
- getPayload() - Method in class org.apache.flink.runtime.rpc.messages.RemoteFencedMessage
- getPort() - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Return the port under which the rpc service is reachable.
- getRpcGateway() - Method in class org.apache.flink.runtime.rpc.messages.RemoteHandshakeMessage
- getRpcService() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Gets the endpoint's RPC service.
- getRpcUrl(String, int, String, AddressResolution, Configuration) - Method in class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- getRpcUrl(String, int, String, AddressResolution, Configuration) - Method in interface org.apache.flink.runtime.rpc.RpcSystemUtils
-
Constructs an RPC URL for the given parameters, that can be used to connect to the targeted RpcService.
- getRunnable() - Method in class org.apache.flink.runtime.rpc.messages.RunAsync
- getScheduledExecutor() - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Gets a scheduled executor from the RPC service.
- getSelfGateway(Class<C>) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Returns a self gateway of the specified type which can be used to issue asynchronous calls against the RpcEndpoint.
- getSelfGateway(Class<C>, RpcServer) - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Returns a self gateway of the specified type which can be used to issue asynchronous calls against the RpcEndpoint.
- getTerminationFuture() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Return a future which is completed with true when the rpc endpoint has been terminated.
- getTerminationFuture() - Method in interface org.apache.flink.runtime.rpc.RpcServer
-
Return a future which is completed when the rpc endpoint has been terminated.
- getTestForkJoinExecutorConfiguration() - Static method in class org.apache.flink.runtime.rpc.RpcUtils
- getThreadPriority() - Method in class org.apache.flink.runtime.rpc.RpcSystem.FixedThreadPoolExecutorConfiguration
- getTimeNanos() - Method in class org.apache.flink.runtime.rpc.messages.RunAsync
- getVersion() - Method in class org.apache.flink.runtime.rpc.messages.RemoteHandshakeMessage
- guardCompletionWithContextClassLoader(CompletableFuture<T>, ClassLoader) - Static method in class org.apache.flink.runtime.concurrent.ClassLoadingUtils
H
- HandshakeException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Exception which signals a handshake failure.
- HandshakeException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.HandshakeException
- HandshakeException(String, Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.HandshakeException
- HandshakeException(Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.HandshakeException
- HandshakeSuccessMessage - Enum in org.apache.flink.runtime.rpc.messages
-
Handshake success response.
- hashCode() - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
I
- INF_DURATION - Static variable in class org.apache.flink.runtime.rpc.RpcUtils
- INF_TIMEOUT - Static variable in class org.apache.flink.runtime.rpc.RpcUtils
-
HACK: Set to 21474835 seconds, Pekko's maximum delay (Akka 2.4.20).
- INSTANCE - org.apache.flink.runtime.rpc.messages.HandshakeSuccessMessage
- internalCallOnStart() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Internal method which is called by the RpcService implementation to start the RpcEndpoint.
- internalCallOnStop() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Internal method which is called by the RpcService implementation to stop the RpcEndpoint.
- isCancelled() - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- isDone() - Method in class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- isRunning() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Returns whether the RPC endpoint is started and not stopped or being stopped.
- isRunningInExpectedThread(Thread) - Static method in class org.apache.flink.runtime.rpc.MainThreadValidatorUtil
-
Returns true iff the current thread is equals to the provided expected thread and logs violations.
L
- load() - Static method in interface org.apache.flink.runtime.rpc.RpcSystem
-
Loads the RpcSystem.
- load(Configuration) - Static method in interface org.apache.flink.runtime.rpc.RpcSystem
-
Loads the RpcSystem.
- loadRpcSystem(Configuration) - Method in interface org.apache.flink.runtime.rpc.RpcSystemLoader
- Local - Annotation Type in org.apache.flink.runtime.rpc
-
Marks an RPC invocation for only being supported as a local invocation.
- LocalFencedMessage<F extends Serializable,P> - Class in org.apache.flink.runtime.rpc.messages
-
Local
FencedMessageimplementation. - LocalFencedMessage(F, P) - Constructor for class org.apache.flink.runtime.rpc.messages.LocalFencedMessage
- LocalRpcInvocation - Class in org.apache.flink.runtime.rpc.messages
-
Local rpc invocation message containing the remote procedure name, its parameter types and the corresponding call arguments.
- LocalRpcInvocation(String, String, Class<?>[], Object[]) - Constructor for class org.apache.flink.runtime.rpc.messages.LocalRpcInvocation
- localServiceBuilder(Configuration) - Method in class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- localServiceBuilder(Configuration) - Method in interface org.apache.flink.runtime.rpc.RpcSystem
-
Returns a builder for an
RpcServicethat is only reachable from the local machine. - log - Variable in class org.apache.flink.runtime.rpc.RpcEndpoint
M
- MainThreadExecutable - Interface in org.apache.flink.runtime.rpc
- MainThreadValidatorUtil - Class in org.apache.flink.runtime.rpc
-
This utility exists to bridge between the visibility of the
currentMainThreadfield in theRpcEndpoint. - MainThreadValidatorUtil(RpcEndpoint) - Constructor for class org.apache.flink.runtime.rpc.MainThreadValidatorUtil
- Message - Interface in org.apache.flink.runtime.rpc.messages
-
Marker interface for all Flink RPC related messages.
N
- NO_ADDRESS_RESOLUTION - org.apache.flink.runtime.rpc.AddressResolution
O
- onFatalError(Throwable) - Method in interface org.apache.flink.runtime.rpc.FatalErrorHandler
-
Being called when a fatal error occurs.
- onStart() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
User overridable callback which is called from
RpcEndpoint.internalCallOnStart(). - onStop() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
User overridable callback which is called from
RpcEndpoint.internalCallOnStop(). - org.apache.flink.runtime.concurrent - package org.apache.flink.runtime.concurrent
- org.apache.flink.runtime.rpc - package org.apache.flink.runtime.rpc
- org.apache.flink.runtime.rpc.exceptions - package org.apache.flink.runtime.rpc.exceptions
- org.apache.flink.runtime.rpc.messages - package org.apache.flink.runtime.rpc.messages
R
- RecipientUnreachableException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Exception which indicates that the specified recipient is unreachable.
- RecipientUnreachableException(String, String, String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RecipientUnreachableException
- registerResource(Closeable) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Register the given closeable resource to
CloseableRegistry. - RemoteFencedMessage<F extends Serializable,P extends Serializable> - Class in org.apache.flink.runtime.rpc.messages
-
Remote
FencedMessageimplementation. - RemoteFencedMessage(F, P) - Constructor for class org.apache.flink.runtime.rpc.messages.RemoteFencedMessage
- RemoteHandshakeMessage - Class in org.apache.flink.runtime.rpc.messages
-
Handshake message between rpc endpoints.
- RemoteHandshakeMessage(Class<?>, int) - Constructor for class org.apache.flink.runtime.rpc.messages.RemoteHandshakeMessage
- RemoteRpcInvocation - Class in org.apache.flink.runtime.rpc.messages
-
Remote rpc invocation message which is used when the actor communication is remote.
- RemoteRpcInvocation(String, String, Class<?>[], Object[]) - Constructor for class org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation
- remoteServiceBuilder(Configuration, String, String) - Method in class org.apache.flink.runtime.rpc.CleanupOnCloseRpcSystem
- remoteServiceBuilder(Configuration, String, String) - Method in interface org.apache.flink.runtime.rpc.RpcSystem
-
Returns a builder for an
RpcServicethat is reachable from other machines. - RpcConnectionException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Exception class which is thrown if a rpc connection failed.
- RpcConnectionException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcConnectionException
- RpcConnectionException(String, Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcConnectionException
- RpcConnectionException(Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcConnectionException
- RpcEndpoint - Class in org.apache.flink.runtime.rpc
-
Base class for RPC endpoints.
- RpcEndpoint(RpcService) - Constructor for class org.apache.flink.runtime.rpc.RpcEndpoint
-
Initializes the RPC endpoint with a random endpoint id.
- RpcEndpoint(RpcService, String) - Constructor for class org.apache.flink.runtime.rpc.RpcEndpoint
-
Initializes the RPC endpoint.
- RpcEndpoint(RpcService, String, Map<String, String>) - Constructor for class org.apache.flink.runtime.rpc.RpcEndpoint
-
Initializes the RPC endpoint.
- RpcEndpoint.MainThreadExecutor - Class in org.apache.flink.runtime.rpc
-
Executor which executes runnables in the main thread context.
- RpcException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Base class for RPC related exceptions.
- RpcException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcException
- RpcException(String, Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcException
- RpcException(Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcException
- RpcGateway - Interface in org.apache.flink.runtime.rpc
-
Rpc gateway interface which has to be implemented by Rpc gateways.
- RpcGatewayUtils - Class in org.apache.flink.runtime.rpc
-
Utils for
RpcGatewayimplementations. - RpcInvocation - Interface in org.apache.flink.runtime.rpc.messages
-
Interface for rpc invocation messages.
- RpcLoaderException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Base class for RPC loader exceptions.
- RpcLoaderException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcLoaderException
- RpcLoaderException(String, Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcLoaderException
- RpcLoaderException(Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcLoaderException
- RpcRuntimeException - Exception in org.apache.flink.runtime.rpc.exceptions
-
Base class for RPC related runtime exceptions.
- RpcRuntimeException(String) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcRuntimeException
- RpcRuntimeException(String, Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcRuntimeException
- RpcRuntimeException(Throwable) - Constructor for exception org.apache.flink.runtime.rpc.exceptions.RpcRuntimeException
- rpcServer - Variable in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Interface to access the underlying rpc server.
- RpcServer - Interface in org.apache.flink.runtime.rpc
-
Interface for self gateways.
- RpcService - Interface in org.apache.flink.runtime.rpc
-
Interface for rpc services.
- RpcServiceUtils - Class in org.apache.flink.runtime.rpc
-
These RPC utilities contain helper methods around RPC use.
- RpcServiceUtils() - Constructor for class org.apache.flink.runtime.rpc.RpcServiceUtils
- RpcSystem - Interface in org.apache.flink.runtime.rpc
-
This interface serves as a factory interface for RPC services, with some additional utilities that are reliant on implementation details of the RPC service.
- RpcSystem.FixedThreadPoolExecutorConfiguration - Class in org.apache.flink.runtime.rpc
-
Descriptor for creating a thread-pool with a fixed number of threads.
- RpcSystem.ForkJoinExecutorConfiguration - Class in org.apache.flink.runtime.rpc
-
Descriptor for creating a fork-join thread-pool.
- RpcSystem.RpcServiceBuilder - Interface in org.apache.flink.runtime.rpc
-
Builder for
RpcService. - RpcSystemLoader - Interface in org.apache.flink.runtime.rpc
-
A loader for an
RpcSystem. - RpcSystemUtils - Interface in org.apache.flink.runtime.rpc
-
Utils that are dependent on the underlying RPC implementation.
- RpcTimeout - Annotation Type in org.apache.flink.runtime.rpc
-
Annotation for
RpcGatewaymethods to specify an additional timeout parameter for the returned future to be completed. - RpcUtils - Class in org.apache.flink.runtime.rpc
-
Utility functions for Flink's RPC implementation.
- runAsync(Runnable) - Method in interface org.apache.flink.runtime.rpc.MainThreadExecutable
-
Execute the runnable in the main thread of the underlying RPC endpoint.
- runAsync(Runnable) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Execute the runnable in the main thread of the underlying RPC endpoint.
- RunAsync - Class in org.apache.flink.runtime.rpc.messages
-
Message for asynchronous runnable invocations.
- RunAsync(Runnable, long) - Constructor for class org.apache.flink.runtime.rpc.messages.RunAsync
-
Creates a new
RunAsyncmessage. - runWithContextClassLoader(SupplierWithException<T, E>, ClassLoader) - Static method in class org.apache.flink.runtime.concurrent.ClassLoadingUtils
-
Runs the given supplier in a
TemporaryClassLoaderContextbased on the given classloader. - runWithContextClassLoader(ThrowingRunnable<T>, ClassLoader) - Static method in class org.apache.flink.runtime.concurrent.ClassLoadingUtils
-
Runs the given runnable in a
TemporaryClassLoaderContextto prevent the plugin class loader from leaking into Flink.
S
- schedule(Runnable, long, TimeUnit) - Method in class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
- schedule(Runnable, long, TimeUnit) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
-
The mainScheduledExecutor manages the task and sends it to the gateway after the given delay.
- schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
-
The mainScheduledExecutor manages the given callable and sends it to the gateway after the given delay.
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
- ScheduledFutureAdapter<V> - Class in org.apache.flink.runtime.concurrent
-
Adapter from
FuturetoScheduledFuture. - ScheduledFutureAdapter(Future<V>, long, TimeUnit) - Constructor for class org.apache.flink.runtime.concurrent.ScheduledFutureAdapter
- scheduleRunAsync(Runnable, long) - Method in interface org.apache.flink.runtime.rpc.MainThreadExecutable
-
Execute the runnable in the main thread of the underlying RPC endpoint, with a delay of the given number of milliseconds.
- scheduleRunAsync(Runnable, long, TimeUnit) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Execute the runnable in the main thread of the underlying RPC endpoint, with a delay of the given number of milliseconds.
- scheduleRunAsync(Runnable, Duration) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Execute the runnable in the main thread of the underlying RPC endpoint, with a delay of the given number of milliseconds.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor.DummyComponentMainThreadExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint.MainThreadExecutor
- start() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Triggers start of the rpc endpoint.
- start() - Method in interface org.apache.flink.runtime.rpc.StartStoppable
-
Starts the processing of remote procedure calls.
- startServer(C, Map<String, String>) - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Start a rpc server which forwards the remote procedure calls to the provided rpc endpoint.
- StartStoppable - Interface in org.apache.flink.runtime.rpc
-
Interface to start and stop the processing of rpc calls in the rpc server.
- stop() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Triggers stop of the rpc endpoint.
- stop() - Method in interface org.apache.flink.runtime.rpc.StartStoppable
-
Stops the processing of remote procedure calls.
- stopServer(RpcServer) - Method in interface org.apache.flink.runtime.rpc.RpcService
-
Stop the underlying rpc server of the provided self gateway.
T
- terminateRpcEndpoint(RpcEndpoint...) - Static method in class org.apache.flink.runtime.rpc.RpcUtils
-
Shuts the given
RpcEndpoints down and awaits their termination. - terminateRpcService(RpcService...) - Static method in class org.apache.flink.runtime.rpc.RpcUtils
-
Shuts the given rpc services down and waits for their termination.
- toString() - Method in class org.apache.flink.runtime.rpc.messages.LocalFencedMessage
- toString() - Method in class org.apache.flink.runtime.rpc.messages.LocalRpcInvocation
- toString() - Method in class org.apache.flink.runtime.rpc.messages.RemoteFencedMessage
- toString() - Method in class org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation
- TRY_ADDRESS_RESOLUTION - org.apache.flink.runtime.rpc.AddressResolution
U
- unregisterResource(Closeable) - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Unregister the given closeable resource from
CloseableRegistry.
V
- validateRunsInMainThread() - Method in class org.apache.flink.runtime.rpc.RpcEndpoint
-
Validates that the method call happens in the RPC endpoint's main thread.
- valueOf(String) - Static method in enum org.apache.flink.runtime.rpc.AddressResolution
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.flink.runtime.rpc.messages.HandshakeSuccessMessage
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.flink.runtime.rpc.AddressResolution
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.flink.runtime.rpc.messages.HandshakeSuccessMessage
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withBindAddress(String) - Method in interface org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
- withBindPort(int) - Method in interface org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
- withComponentName(String) - Method in interface org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
- withContextClassLoader(Runnable, ClassLoader) - Static method in class org.apache.flink.runtime.concurrent.ClassLoadingUtils
-
Wraps the given runnable in a
TemporaryClassLoaderContextto prevent the plugin class loader from leaking into Flink. - withContextClassLoader(Executor, ClassLoader) - Static method in class org.apache.flink.runtime.concurrent.ClassLoadingUtils
-
Wraps the given executor such that all submitted are runnables are run in a
TemporaryClassLoaderContextbased on the given classloader. - withExecutorConfiguration(RpcSystem.FixedThreadPoolExecutorConfiguration) - Method in interface org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
- withExecutorConfiguration(RpcSystem.ForkJoinExecutorConfiguration) - Method in interface org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
All Classes All Packages