public class SimpleResourceManagementConfig extends Object
Constructor and Description |
---|
SimpleResourceManagementConfig() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.Period |
getMaxScalingDuration() |
int |
getNumEventsToTrack() |
org.joda.time.Period |
getPendingTaskTimeout() |
org.joda.time.Period |
getWorkerIdleTimeout() |
int |
getWorkerPort() |
String |
getWorkerVersion() |
SimpleResourceManagementConfig |
setMaxScalingDuration(org.joda.time.Period maxScalingDuration) |
SimpleResourceManagementConfig |
setNumEventsToTrack(int numEventsToTrack) |
SimpleResourceManagementConfig |
setPendingTaskTimeout(org.joda.time.Period pendingTaskTimeout) |
SimpleResourceManagementConfig |
setWorkerIdleTimeout(org.joda.time.Period workerIdleTimeout) |
SimpleResourceManagementConfig |
setWorkerPort(int workerPort) |
SimpleResourceManagementConfig |
setWorkerVersion(String workerVersion) |
public org.joda.time.Period getWorkerIdleTimeout()
public SimpleResourceManagementConfig setWorkerIdleTimeout(org.joda.time.Period workerIdleTimeout)
public org.joda.time.Period getMaxScalingDuration()
public SimpleResourceManagementConfig setMaxScalingDuration(org.joda.time.Period maxScalingDuration)
public int getNumEventsToTrack()
public SimpleResourceManagementConfig setNumEventsToTrack(int numEventsToTrack)
public org.joda.time.Period getPendingTaskTimeout()
public SimpleResourceManagementConfig setPendingTaskTimeout(org.joda.time.Period pendingTaskTimeout)
public String getWorkerVersion()
public SimpleResourceManagementConfig setWorkerVersion(String workerVersion)
public int getWorkerPort()
public SimpleResourceManagementConfig setWorkerPort(int workerPort)
Copyright © 2011–2015. All rights reserved.