Class DashboardConfiguration
java.lang.Object
org.apache.flink.runtime.rest.messages.DashboardConfiguration
- All Implemented Interfaces:
ResponseBody
Response of the
DashboardConfigHandler containing general configuration values such as
the time zone and the refresh interval.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCollection of features that are enabled/disabled. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDashboardConfiguration(long refreshInterval, String timeZoneName, int timeZoneOffset, String flinkVersion, String flinkRevision, DashboardConfiguration.Features features) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DashboardConfigurationfrom(long refreshInterval, ZonedDateTime zonedDateTime, boolean webSubmitEnabled, boolean webCancelEnabled, boolean webRescaleEnabled, boolean isHistoryServer) longintinthashCode()
-
Field Details
-
FIELD_NAME_REFRESH_INTERVAL
- See Also:
-
FIELD_NAME_TIMEZONE_OFFSET
- See Also:
-
FIELD_NAME_TIMEZONE_NAME
- See Also:
-
FIELD_NAME_FLINK_VERSION
- See Also:
-
FIELD_NAME_FLINK_REVISION
- See Also:
-
FIELD_NAME_FLINK_FEATURES
- See Also:
-
FIELD_NAME_FEATURE_WEB_SUBMIT
- See Also:
-
FIELD_NAME_FEATURE_WEB_CANCEL
- See Also:
-
FIELD_NAME_FEATURE_WEB_RESCALE
- See Also:
-
FIELD_NAME_FEATURE_WEB_HISTORY
- See Also:
-
-
Constructor Details
-
DashboardConfiguration
public DashboardConfiguration(long refreshInterval, String timeZoneName, int timeZoneOffset, String flinkVersion, String flinkRevision, DashboardConfiguration.Features features)
-
-
Method Details
-
getRefreshInterval
public long getRefreshInterval() -
getTimeZoneOffset
public int getTimeZoneOffset() -
getTimeZoneName
-
getFlinkVersion
-
getFlinkRevision
-
getFeatures
-
equals
-
hashCode
public int hashCode() -
from
public static DashboardConfiguration from(long refreshInterval, ZonedDateTime zonedDateTime, boolean webSubmitEnabled, boolean webCancelEnabled, boolean webRescaleEnabled, boolean isHistoryServer)
-