Class NonSupportedResourceAllocatorImpl
java.lang.Object
org.apache.flink.runtime.resourcemanager.slotmanager.NonSupportedResourceAllocatorImpl
- All Implemented Interfaces:
ResourceAllocator
ResourceAllocator that not support to allocate/release resources.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcleaningUpDisconnectedResource(ResourceID resourceID) Clean up the disconnected resource with the given resource id.voiddeclareResourceNeeded(Collection<ResourceDeclaration> resourceDeclarations) declare resource need by slot manager.booleanWhether allocate/release resources are supported.
-
Field Details
-
INSTANCE
-
-
Method Details
-
isSupported
public boolean isSupported()Description copied from interface:ResourceAllocatorWhether allocate/release resources are supported.- Specified by:
isSupportedin interfaceResourceAllocator
-
cleaningUpDisconnectedResource
Description copied from interface:ResourceAllocatorClean up the disconnected resource with the given resource id.- Specified by:
cleaningUpDisconnectedResourcein interfaceResourceAllocator- Parameters:
resourceID- identifying which resource to clean up
-
declareResourceNeeded
Description copied from interface:ResourceAllocatordeclare resource need by slot manager.- Specified by:
declareResourceNeededin interfaceResourceAllocator
-