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:
Applies to
Azure SDK for Java