ReliableStateManagerConfiguration Class

  • java.lang.Object
    • microsoft.servicefabric.data.ReliableStateManagerConfiguration

public class ReliableStateManagerConfiguration

Configuration object used to create ReliableStateManager.

Constructor Summary

Constructor Description
ReliableStateManagerConfiguration()

Create a new ReliableStateManagerConfiguration.

ReliableStateManagerConfiguration(ReliableStateManagerReplicatorSettings settings)

Create a new ReliableStateManagerConfiguration.

ReliableStateManagerConfiguration(String configPackageName, String replicatorSettingSectionName, String replicatorSecuritySectionName)

Create a new ReliableStateManagerConfiguration.

Method Summary

Modifier and Type Method and Description
String getConfigPackageName()

Gets the name of the config package in Settings.xml from which to load replicator settings and replicator security settings.

ReliableStateManagerReplicatorSettings getReliableStateManagerReplicatorSettings()

Gets the replicator settings.

String getReplicatorSecuritySectionName()

Gets the replicator security settings section name. If present in the config package specified by configPackageName in Settings.xml, this section will be used to configure replicator security settings.

String getReplicatorSettingSectionName()

Gets the replicator settings section name. If present in the config package specified by configPackageName in Settings.xml, this section will be used to configure replicator settings.

Constructor Details

ReliableStateManagerConfiguration

public ReliableStateManagerConfiguration()

Create a new ReliableStateManagerConfiguration.

ReliableStateManagerConfiguration

public ReliableStateManagerConfiguration(ReliableStateManagerReplicatorSettings settings)

Create a new ReliableStateManagerConfiguration.

Parameters:

settings - Replicator settings used to initialize the ReliableStateManager.

ReliableStateManagerConfiguration

public ReliableStateManagerConfiguration(String configPackageName, String replicatorSettingSectionName, String replicatorSecuritySectionName)

Create a new ReliableStateManagerConfiguration.

Parameters:

configPackageName - Config package name from which to load replicator security/settings.
replicatorSettingSectionName - Config section name from which to load replicator settings.
replicatorSecuritySectionName - Config section name from which to load replicator security settings.

Method Details

getConfigPackageName

public String getConfigPackageName()

Gets the name of the config package in Settings.xml from which to load replicator settings and replicator security settings.

Returns:

The config package name.

getReliableStateManagerReplicatorSettings

public ReliableStateManagerReplicatorSettings getReliableStateManagerReplicatorSettings()

Gets the replicator settings.

Returns:

The replicator settings.

getReplicatorSecuritySectionName

public String getReplicatorSecuritySectionName()

Gets the replicator security settings section name. If present in the config package specified by configPackageName in Settings.xml, this section will be used to configure replicator security settings.

Returns:

The replicator security settings section name.

getReplicatorSettingSectionName

public String getReplicatorSettingSectionName()

Gets the replicator settings section name. If present in the config package specified by configPackageName in Settings.xml, this section will be used to configure replicator settings.

Returns:

The replicator security settings section name.

Applies to