你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StatefulServiceTypeDescription Class
- java.
lang. Object - ServiceTypeDescription
- system.
fabric. description. StatefulServiceTypeDescription
- system.
public class StatefulServiceTypeDescription extends ServiceTypeDescription
Constructor Summary
Constructor | Description | |
---|---|---|
StatefulServiceTypeDescription() |
Initializes an instance of the system.fabric.description.StatefulServiceTypeDescription} class. |
|
StatefulServiceTypeDescription(boolean hasPersistedState) |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isHasPersistedState()
Gets the flag indicating whether this is a persistent service which stores states on the local disk. |
void |
setHasPersistedState(boolean hasPersistedState)
Sets the flag indicating whether this is a persistent service which stores states on the local disk. |
Inherited Members
Constructor Details
StatefulServiceTypeDescription
public StatefulServiceTypeDescription()
Initializes an instance of the system.fabric.description.StatefulServiceTypeDescription} class.
StatefulServiceTypeDescription
public StatefulServiceTypeDescription(boolean hasPersistedState)
Parameters:
Method Details
isHasPersistedState
public boolean isHasPersistedState()
Gets the flag indicating whether this is a persistent service which stores states on the local disk.
Returns:
setHasPersistedState
public void setHasPersistedState(boolean hasPersistedState)
Sets the flag indicating whether this is a persistent service which stores states on the local disk.
Parameters: