public class NonSupportedResourceAllocatorImpl extends Object implements ResourceAllocator
| Modifier and Type | Field and Description |
|---|---|
static NonSupportedResourceAllocatorImpl |
INSTANCE |
| 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.
|
public static final NonSupportedResourceAllocatorImpl INSTANCE
public boolean isSupported()
ResourceAllocatorisSupported in interface ResourceAllocatorpublic void cleaningUpDisconnectedResource(ResourceID resourceID)
ResourceAllocatorcleaningUpDisconnectedResource in interface ResourceAllocatorresourceID - identifying which resource to clean uppublic void declareResourceNeeded(Collection<ResourceDeclaration> resourceDeclarations)
ResourceAllocatordeclareResourceNeeded in interface ResourceAllocatorCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.