Uses of Interface
org.springframework.util.concurrent.ListenableFuture
Packages that use ListenableFuture
Package
Description
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
Common infrastructure for invoking message handler methods.
Generic support for simple messaging protocols (like STOMP).
Contains abstractions and implementation classes for establishing TCP connections via
TcpOperations
,
handling messages via
TcpConnectionHandler
,
as well as sending messages via
TcpConnection
.Annotation support for asynchronous method execution.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent
packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Useful generic
java.util.concurrent.Future
extensions.Client-side abstractions for WebSocket applications.
WebSocket integration for Spring's messaging module.
SockJS client implementation of
WebSocketClient
.-
Uses of ListenableFuture in org.springframework.core.task
Methods in org.springframework.core.task that return ListenableFutureModifier and TypeMethodDescriptionAsyncListenableTaskExecutor.submitListenable
(Runnable task) Deprecated.<T> ListenableFuture<T>
AsyncListenableTaskExecutor.submitListenable
(Callable<T> task) Deprecated.in favor ofAsyncTaskExecutor.submitCompletable(Callable)
SimpleAsyncTaskExecutor.submitListenable
(Runnable task) <T> ListenableFuture<T>
SimpleAsyncTaskExecutor.submitListenable
(Callable<T> task) -
Uses of ListenableFuture in org.springframework.core.task.support
Methods in org.springframework.core.task.support that return ListenableFutureModifier and TypeMethodDescriptionTaskExecutorAdapter.submitListenable
(Runnable task) <T> ListenableFuture<T>
TaskExecutorAdapter.submitListenable
(Callable<T> task) -
Uses of ListenableFuture in org.springframework.messaging.handler.invocation
Methods in org.springframework.messaging.handler.invocation that return ListenableFutureModifier and TypeMethodDescriptiondefault ListenableFuture<?>
AsyncHandlerMethodReturnValueHandler.toListenableFuture
(Object returnValue, MethodParameter returnType) Deprecated.as of 6.0, in favor ofAsyncHandlerMethodReturnValueHandler.toCompletableFuture(Object, MethodParameter)
ListenableFutureReturnValueHandler.toListenableFuture
(Object returnValue, MethodParameter returnType) Deprecated. -
Uses of ListenableFuture in org.springframework.messaging.simp.stomp
Methods in org.springframework.messaging.simp.stomp that return ListenableFutureModifier and TypeMethodDescriptionReactorNettyTcpStompClient.connect
(StompHeaders connectHeaders, StompSessionHandler handler) Deprecated.as of 6.0, in favor ofReactorNettyTcpStompClient.connectAsync(StompHeaders, StompSessionHandler)
ReactorNettyTcpStompClient.connect
(StompSessionHandler handler) Deprecated.as of 6.0, in favor ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)
default ListenableFuture<StompSession>
ConnectionHandlingStompSession.getSessionFuture()
Deprecated.as of 6.0, in favor ofConnectionHandlingStompSession.getSession()
-
Uses of ListenableFuture in org.springframework.messaging.tcp
Methods in org.springframework.messaging.tcp that return ListenableFutureModifier and TypeMethodDescriptiondefault ListenableFuture<Void>
TcpOperations.connect
(TcpConnectionHandler<P> connectionHandler) Deprecated.as of 6.0, in favor ofTcpOperations.connectAsync(TcpConnectionHandler)
default ListenableFuture<Void>
TcpOperations.connect
(TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) Deprecated.as of 6.0, in favor ofTcpOperations.connectAsync(TcpConnectionHandler, ReconnectStrategy)
default ListenableFuture<Void>
Deprecated.as of 6.0, in favor ofTcpConnection.sendAsync(Message)
default ListenableFuture<Void>
TcpOperations.shutdown()
Deprecated.as of 6.0, in favor ofTcpOperations.shutdownAsync()
-
Uses of ListenableFuture in org.springframework.scheduling.annotation
Classes in org.springframework.scheduling.annotation that implement ListenableFutureModifier and TypeClassDescriptionclass
AsyncResult<V>
Deprecated.as of 6.0, in favor ofCompletableFuture
Methods in org.springframework.scheduling.annotation that return ListenableFutureModifier and TypeMethodDescriptionstatic <V> ListenableFuture<V>
AsyncResult.forExecutionException
(Throwable ex) Deprecated.Create a new async result which exposes the given exception as anExecutionException
fromFuture.get()
.static <V> ListenableFuture<V>
AsyncResult.forValue
(V value) Deprecated.Create a new async result which exposes the given value fromFuture.get()
. -
Uses of ListenableFuture in org.springframework.scheduling.concurrent
Methods in org.springframework.scheduling.concurrent that return ListenableFutureModifier and TypeMethodDescriptionConcurrentTaskExecutor.submitListenable
(Runnable task) <T> ListenableFuture<T>
ConcurrentTaskExecutor.submitListenable
(Callable<T> task) ThreadPoolTaskExecutor.submitListenable
(Runnable task) <T> ListenableFuture<T>
ThreadPoolTaskExecutor.submitListenable
(Callable<T> task) ThreadPoolTaskScheduler.submitListenable
(Runnable task) <T> ListenableFuture<T>
ThreadPoolTaskScheduler.submitListenable
(Callable<T> task) -
Uses of ListenableFuture in org.springframework.scheduling.quartz
Methods in org.springframework.scheduling.quartz that return ListenableFutureModifier and TypeMethodDescriptionSimpleThreadPoolTaskExecutor.submitListenable
(Runnable task) <T> ListenableFuture<T>
SimpleThreadPoolTaskExecutor.submitListenable
(Callable<T> task) -
Uses of ListenableFuture in org.springframework.util.concurrent
Classes in org.springframework.util.concurrent that implement ListenableFutureModifier and TypeClassDescriptionclass
Deprecated.as of 6.0, with no concrete replacementclass
Deprecated.as of 6.0, in favor ofCompletableFuture
class
Deprecated.as of 6.0, with no concrete replacementclass
Deprecated.as of 6.0, in favor ofMono.toFuture()
class
Deprecated.as of 6.0, in favor ofCompletableFuture
Constructors in org.springframework.util.concurrent with parameters of type ListenableFutureModifierConstructorDescriptionprotected
ListenableFutureAdapter
(ListenableFuture<S> adaptee) Deprecated.Construct a newListenableFutureAdapter
with the given adaptee. -
Uses of ListenableFuture in org.springframework.web.socket.client
Methods in org.springframework.web.socket.client that return ListenableFutureModifier and TypeMethodDescriptiondefault ListenableFuture<WebSocketSession>
WebSocketClient.doHandshake
(WebSocketHandler webSocketHandler, String uriTemplate, Object... uriVariables) Deprecated.as of 6.0, in favor ofWebSocketClient.execute(WebSocketHandler, String, Object...)
default ListenableFuture<WebSocketSession>
WebSocketClient.doHandshake
(WebSocketHandler webSocketHandler, WebSocketHttpHeaders headers, URI uri) Deprecated.as of 6.0, in favor ofWebSocketClient.execute(WebSocketHandler, WebSocketHttpHeaders, URI)
protected ListenableFuture<WebSocketSession>
AbstractWebSocketClient.doHandshakeInternal
(WebSocketHandler webSocketHandler, HttpHeaders headers, URI uri, List<String> subProtocols, List<WebSocketExtension> extensions, Map<String, Object> attributes) Deprecated.as of 6.0, in favor ofAbstractWebSocketClient.executeInternal(WebSocketHandler, HttpHeaders, URI, List, List, Map)
-
Uses of ListenableFuture in org.springframework.web.socket.messaging
Methods in org.springframework.web.socket.messaging that return ListenableFutureModifier and TypeMethodDescriptionWebSocketStompClient.connect
(String url, StompSessionHandler handler, Object... uriVars) Deprecated.as of 6.0, in favor ofWebSocketStompClient.connectAsync(String, StompSessionHandler, Object...)
WebSocketStompClient.connect
(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect
(String url, WebSocketHttpHeaders handshakeHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect
(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) Deprecated. -
Uses of ListenableFuture in org.springframework.web.socket.sockjs.client
Methods in org.springframework.web.socket.sockjs.client that return ListenableFutureModifier and TypeMethodDescriptiondefault ListenableFuture<WebSocketSession>
Transport.connect
(TransportRequest request, WebSocketHandler webSocketHandler) Deprecated.as of 6.0, in favor ofTransport.connectAsync(TransportRequest, WebSocketHandler)
AsyncTaskExecutor.submitCompletable(Runnable)