Class RestHandlerConfiguration


  • public class RestHandlerConfiguration
    extends Object
    Configuration object containing values for the rest handler configuration.
    • Constructor Detail

      • RestHandlerConfiguration

        public RestHandlerConfiguration​(long refreshInterval,
                                        int checkpointHistorySize,
                                        Duration checkpointCacheExpireAfterWrite,
                                        int checkpointCacheSize,
                                        Duration timeout,
                                        File webUiDir,
                                        boolean webSubmitEnabled,
                                        boolean webCancelEnabled,
                                        boolean webRescaleEnabled)
    • 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)