public class DefaultSlotPoolFactory extends Object implements SlotPoolFactory
Constructor and Description |
---|
DefaultSlotPoolFactory(RpcService rpcService,
SchedulingStrategy schedulingStrategy,
Clock clock,
Time rpcTimeout,
Time slotIdleTimeout) |
Modifier and Type | Method and Description |
---|---|
SlotPool |
createSlotPool(JobID jobId) |
static DefaultSlotPoolFactory |
fromConfiguration(Configuration configuration,
RpcService rpcService) |
public DefaultSlotPoolFactory(@Nonnull RpcService rpcService, @Nonnull SchedulingStrategy schedulingStrategy, @Nonnull Clock clock, @Nonnull Time rpcTimeout, @Nonnull Time slotIdleTimeout)
@Nonnull public SlotPool createSlotPool(@Nonnull JobID jobId)
createSlotPool
in interface SlotPoolFactory
public static DefaultSlotPoolFactory fromConfiguration(@Nonnull Configuration configuration, @Nonnull RpcService rpcService)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.