Class DeclarativeSlotPoolServiceFactory
java.lang.Object
org.apache.flink.runtime.jobmaster.slotpool.DeclarativeSlotPoolServiceFactory
- All Implemented Interfaces:
SlotPoolServiceFactory
Factory for the
DeclarativeSlotPoolService.-
Constructor Summary
ConstructorsConstructorDescriptionDeclarativeSlotPoolServiceFactory(org.apache.flink.util.clock.Clock clock, Duration idleSlotTimeout, Duration rpcTimeout, Duration slotRequestMaxInterval) -
Method Summary
Modifier and TypeMethodDescriptioncreateSlotPoolService(org.apache.flink.api.common.JobID jobId, DeclarativeSlotPoolFactory declarativeSlotPoolFactory, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor componentMainThreadExecutor)
-
Constructor Details
-
DeclarativeSlotPoolServiceFactory
-
-
Method Details
-
createSlotPoolService
@Nonnull public SlotPoolService createSlotPoolService(@Nonnull org.apache.flink.api.common.JobID jobId, DeclarativeSlotPoolFactory declarativeSlotPoolFactory, @Nonnull org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor componentMainThreadExecutor) - Specified by:
createSlotPoolServicein interfaceSlotPoolServiceFactory
-