use of org.apache.flink.util.TernaryBoolean in project flink by apache.
the class StreamTask method createStateBackend.
// ------------------------------------------------------------------------
// State backend
// ------------------------------------------------------------------------
private StateBackend createStateBackend() throws Exception {
final StateBackend fromApplication = configuration.getStateBackend(getUserCodeClassLoader());
final TernaryBoolean isChangelogStateBackendEnableFromApplication = configuration.isChangelogStateBackendEnabled(getUserCodeClassLoader());
return StateBackendLoader.fromApplicationOrConfigOrDefault(fromApplication, isChangelogStateBackendEnableFromApplication == null ? TernaryBoolean.UNDEFINED : isChangelogStateBackendEnableFromApplication, getEnvironment().getTaskManagerInfo().getConfiguration(), getUserCodeClassLoader(), LOG);
}
Aggregations