public interface ResourceAllocator
SlotManager
can perform.Modifier and Type | Method and Description |
---|---|
void |
cleaningUpDisconnectedResource(ResourceID resourceID)
Clean up the disconnected resource with the given resource id.
|
void |
declareResourceNeeded(Collection<ResourceDeclaration> resourceDeclarations)
declare resource need by slot manager.
|
boolean |
isSupported()
Whether allocate/release resources are supported.
|
boolean isSupported()
void cleaningUpDisconnectedResource(ResourceID resourceID)
resourceID
- identifying which resource to clean upvoid declareResourceNeeded(Collection<ResourceDeclaration> resourceDeclarations)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.