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()
ResourceAllocator
isSupported
in interface ResourceAllocator
public void cleaningUpDisconnectedResource(ResourceID resourceID)
ResourceAllocator
cleaningUpDisconnectedResource
in interface ResourceAllocator
resourceID
- identifying which resource to clean uppublic void declareResourceNeeded(Collection<ResourceDeclaration> resourceDeclarations)
ResourceAllocator
declareResourceNeeded
in interface ResourceAllocator
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.