public class RestHandlerConfiguration extends Object
Constructor and Description |
---|
RestHandlerConfiguration(long refreshInterval,
int checkpointHistorySize,
Duration checkpointCacheExpireAfterWrite,
int checkpointCacheSize,
Time timeout,
File webUiDir,
boolean webSubmitEnabled,
boolean webCancelEnabled,
boolean webRescaleEnabled) |
Modifier and Type | Method and Description |
---|---|
static RestHandlerConfiguration |
fromConfiguration(Configuration configuration) |
Duration |
getCheckpointCacheExpireAfterWrite() |
int |
getCheckpointCacheSize() |
int |
getCheckpointHistorySize() |
long |
getRefreshInterval() |
Time |
getTimeout() |
File |
getWebUiDir() |
boolean |
isWebCancelEnabled() |
boolean |
isWebRescaleEnabled() |
boolean |
isWebSubmitEnabled() |
public long getRefreshInterval()
public int getCheckpointHistorySize()
public Duration getCheckpointCacheExpireAfterWrite()
public int getCheckpointCacheSize()
public Time getTimeout()
public File getWebUiDir()
public boolean isWebSubmitEnabled()
public boolean isWebCancelEnabled()
public boolean isWebRescaleEnabled()
public static RestHandlerConfiguration fromConfiguration(Configuration configuration)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.