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, Duration checkpointCacheExpireAfterWrite, int checkpointCacheSize, Duration 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 RestHandlerConfiguration
fromConfiguration(org.apache.flink.configuration.Configuration configuration)
Duration
getCheckpointCacheExpireAfterWrite()
int
getCheckpointCacheSize()
int
getCheckpointHistorySize()
long
getRefreshInterval()
Duration
getTimeout()
File
getWebUiDir()
boolean
isWebCancelEnabled()
boolean
isWebRescaleEnabled()
boolean
isWebSubmitEnabled()
-
-
-
Method Detail
-
getRefreshInterval
public long getRefreshInterval()
-
getCheckpointHistorySize
public int getCheckpointHistorySize()
-
getCheckpointCacheExpireAfterWrite
public Duration getCheckpointCacheExpireAfterWrite()
-
getCheckpointCacheSize
public int getCheckpointCacheSize()
-
getTimeout
public Duration 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)
-
-