public interface ResourceAllocator
SlotManager can perform.| 限定符和类型 | 方法和说明 |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.