public class SlotManagerConfiguration extends Object
SlotManager
.Constructor and Description |
---|
SlotManagerConfiguration(Time taskManagerRequestTimeout,
Time slotRequestTimeout,
Time taskManagerTimeout,
boolean waitResultConsumedBeforeRelease,
boolean evenlySpreadOutSlots) |
Modifier and Type | Method and Description |
---|---|
boolean |
evenlySpreadOutSlots() |
static SlotManagerConfiguration |
fromConfiguration(Configuration configuration) |
Time |
getSlotRequestTimeout() |
Time |
getTaskManagerRequestTimeout() |
Time |
getTaskManagerTimeout() |
boolean |
isWaitResultConsumedBeforeRelease() |
public Time getTaskManagerRequestTimeout()
public Time getSlotRequestTimeout()
public Time getTaskManagerTimeout()
public boolean isWaitResultConsumedBeforeRelease()
public boolean evenlySpreadOutSlots()
public static SlotManagerConfiguration fromConfiguration(Configuration configuration) throws ConfigurationException
ConfigurationException
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.