Class RestHandlerConfiguration
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.RestHandlerConfiguration
-
public class RestHandlerConfiguration extends Object
Configuration object containing values for the rest handler configuration.
-
-
Constructor Summary
Constructors Constructor Description RestHandlerConfiguration(long refreshInterval, int checkpointHistorySize, java.time.Duration checkpointCacheExpireAfterWrite, int checkpointCacheSize, org.apache.flink.api.common.time.Time timeout, File webUiDir, boolean webSubmitEnabled, boolean webCancelEnabled, boolean webRescaleEnabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestHandlerConfigurationfromConfiguration(org.apache.flink.configuration.Configuration configuration)java.time.DurationgetCheckpointCacheExpireAfterWrite()intgetCheckpointCacheSize()intgetCheckpointHistorySize()longgetRefreshInterval()org.apache.flink.api.common.time.TimegetTimeout()FilegetWebUiDir()booleanisWebCancelEnabled()booleanisWebRescaleEnabled()booleanisWebSubmitEnabled()
-
-
-
Constructor Detail
-
RestHandlerConfiguration
public RestHandlerConfiguration(long refreshInterval, int checkpointHistorySize, java.time.Duration checkpointCacheExpireAfterWrite, int checkpointCacheSize, org.apache.flink.api.common.time.Time timeout, File webUiDir, boolean webSubmitEnabled, boolean webCancelEnabled, boolean webRescaleEnabled)
-
-
Method Detail
-
getRefreshInterval
public long getRefreshInterval()
-
getCheckpointHistorySize
public int getCheckpointHistorySize()
-
getCheckpointCacheExpireAfterWrite
public java.time.Duration getCheckpointCacheExpireAfterWrite()
-
getCheckpointCacheSize
public int getCheckpointCacheSize()
-
getTimeout
public org.apache.flink.api.common.time.Time getTimeout()
-
getWebUiDir
public File getWebUiDir()
-
isWebSubmitEnabled
public boolean isWebSubmitEnabled()
-
isWebCancelEnabled
public boolean isWebCancelEnabled()
-
isWebRescaleEnabled
public boolean isWebRescaleEnabled()
-
fromConfiguration
public static RestHandlerConfiguration fromConfiguration(org.apache.flink.configuration.Configuration configuration)
-
-