StatefulServiceTypeDescription Class

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:

hasPersistedState

Method Details

isHasPersistedState

public boolean isHasPersistedState()

Gets the flag indicating whether this is a persistent service which stores states on the local disk.

Returns:

A flag indicating whether this is a persistent service which stores states on the local disk.

setHasPersistedState

public void setHasPersistedState(boolean hasPersistedState)

Sets the flag indicating whether this is a persistent service which stores states on the local disk.

Parameters:

hasPersistedState - The flag indicating whether this is a persistent service which stores states on the local disk.

Applies to