public class NonSupportedResourceAllocatorImpl extends Object implements ResourceAllocator
| 限定符和类型 | 字段和说明 |
|---|---|
static NonSupportedResourceAllocatorImpl |
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public static final NonSupportedResourceAllocatorImpl INSTANCE
public boolean isSupported()
ResourceAllocatorisSupported 在接口中 ResourceAllocatorpublic void cleaningUpDisconnectedResource(ResourceID resourceID)
ResourceAllocatorcleaningUpDisconnectedResource 在接口中 ResourceAllocatorresourceID - identifying which resource to clean uppublic void declareResourceNeeded(Collection<ResourceDeclaration> resourceDeclarations)
ResourceAllocatordeclareResourceNeeded 在接口中 ResourceAllocatorCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.