public class DefaultResourceManagerService extends Object
DispatcherResourceManagerComponent.ResourceManagerService
implementation which
uses a ResourceManager
instance.Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding close future.
|
static DefaultResourceManagerService |
createFor(ResourceManager<?> resourceManager) |
ResourceManagerGateway |
getGateway() |
CompletableFuture<Void> |
getTerminationFuture() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public ResourceManagerGateway getGateway()
public CompletableFuture<Void> getTerminationFuture()
public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
public static DefaultResourceManagerService createFor(ResourceManager<?> resourceManager)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.