public class CompletableFutureRpcWrapper extends Object implements RpcWrapper
Constructor and Description |
---|
CompletableFutureRpcWrapper(Method method,
CompletableFuture<Command> completableFuture) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandleReply(AMQCommand command) |
void |
complete(AMQCommand command) |
void |
shutdown(ShutdownSignalException signal) |
public CompletableFutureRpcWrapper(Method method, CompletableFuture<Command> completableFuture)
public boolean canHandleReply(AMQCommand command)
canHandleReply
in interface RpcWrapper
public void complete(AMQCommand command)
complete
in interface RpcWrapper
public void shutdown(ShutdownSignalException signal)
shutdown
in interface RpcWrapper
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.