Java Code Examples for org.apache.nifi.util.NiFiProperties#getStateManagementConfigFile()

The following examples show how to use org.apache.nifi.util.NiFiProperties#getStateManagementConfigFile() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StandardStateManagerProvider.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
private static StateProvider createLocalStateProvider(final NiFiProperties properties, final VariableRegistry variableRegistry) throws IOException, ConfigParseException {
    final File configFile = properties.getStateManagementConfigFile();
    return createStateProvider(configFile, Scope.LOCAL, properties, variableRegistry);
}
 
Example 2
Source File: StandardStateManagerProvider.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
private static StateProvider createClusteredStateProvider(final NiFiProperties properties, final VariableRegistry variableRegistry) throws IOException, ConfigParseException {
    final File configFile = properties.getStateManagementConfigFile();
    return createStateProvider(configFile, Scope.CLUSTER, properties, variableRegistry);
}
 
Example 3
Source File: StandardStateManagerProvider.java    From nifi with Apache License 2.0 4 votes vote down vote up
private static StateProvider createLocalStateProvider(final NiFiProperties properties, final VariableRegistry variableRegistry, final ExtensionManager extensionManager,
                                                      final ParameterLookup parameterLookup) throws IOException, ConfigParseException {
    final File configFile = properties.getStateManagementConfigFile();
    return createStateProvider(configFile, Scope.LOCAL, properties, variableRegistry, extensionManager, parameterLookup);
}
 
Example 4
Source File: StandardStateManagerProvider.java    From nifi with Apache License 2.0 4 votes vote down vote up
private static StateProvider createClusteredStateProvider(final NiFiProperties properties, final VariableRegistry variableRegistry, final ExtensionManager extensionManager,
                                                          final ParameterLookup parameterLookup) throws IOException, ConfigParseException {
    final File configFile = properties.getStateManagementConfigFile();
    return createStateProvider(configFile, Scope.CLUSTER, properties, variableRegistry, extensionManager, parameterLookup);
}