你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReliableStateManagerConfiguration Class
- java.
lang. Object - microsoft.
servicefabric. data. ReliableStateManagerConfiguration
- microsoft.
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. |
Reliable |
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:
ReliableStateManagerConfiguration
public ReliableStateManagerConfiguration(String configPackageName, String replicatorSettingSectionName, String replicatorSecuritySectionName)
Create a new ReliableStateManagerConfiguration.
Parameters:
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:
getReliableStateManagerReplicatorSettings
public ReliableStateManagerReplicatorSettings getReliableStateManagerReplicatorSettings()
Gets the replicator settings.
Returns:
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:
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: