Class DeclarativeSlotPoolServiceFactory
- java.lang.Object
-
- org.apache.flink.runtime.jobmaster.slotpool.DeclarativeSlotPoolServiceFactory
-
- All Implemented Interfaces:
SlotPoolServiceFactory
public class DeclarativeSlotPoolServiceFactory extends Object implements SlotPoolServiceFactory
Factory for theDeclarativeSlotPoolService
.
-
-
Constructor Summary
Constructors Constructor Description DeclarativeSlotPoolServiceFactory(Clock clock, Duration idleSlotTimeout, Duration rpcTimeout, Duration slotRequestMaxInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlotPoolService
createSlotPoolService(JobID jobId, DeclarativeSlotPoolFactory declarativeSlotPoolFactory, ComponentMainThreadExecutor componentMainThreadExecutor)
-
-
-
Method Detail
-
createSlotPoolService
@Nonnull public SlotPoolService createSlotPoolService(@Nonnull JobID jobId, DeclarativeSlotPoolFactory declarativeSlotPoolFactory, @Nonnull ComponentMainThreadExecutor componentMainThreadExecutor)
- Specified by:
createSlotPoolService
in interfaceSlotPoolServiceFactory
-
-