74 строки
6.1 KiB
YAML
74 строки
6.1 KiB
YAML
### YamlMime:JavaType
|
|
constructors:
|
|
- fullName: microsoft.servicefabric.services.runtime.StatefulService.StatefulService(StatefulServiceContext serviceContext)
|
|
name: StatefulService(StatefulServiceContext serviceContext)
|
|
nameWithType: StatefulService.StatefulService(StatefulServiceContext serviceContext)
|
|
parameters:
|
|
- description: <p>Describes the stateful service context, which provides information like replica ID, partition ID, service name. </p>
|
|
name: serviceContext
|
|
type: <xref href="system.fabric.StatefulServiceContext?alt=system.fabric.StatefulServiceContext&text=StatefulServiceContext" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Creates a new stateful service with default <xref uid="microsoft.servicefabric.data.ReliableStateManager" data-throw-if-not-resolved="false" data-raw-source="microsoft.servicefabric.data.ReliableStateManager"></xref></p>
|
|
|
|
<p></p>
|
|
syntax: protected StatefulService(StatefulServiceContext serviceContext)
|
|
uid: microsoft.servicefabric.services.runtime.StatefulService.StatefulService(StatefulServiceContext)
|
|
- fullName: microsoft.servicefabric.services.runtime.StatefulService.StatefulService(StatefulServiceContext serviceContext, ReliableStateManagerReplica stateManagerReplica)
|
|
name: StatefulService(StatefulServiceContext serviceContext, ReliableStateManagerReplica stateManagerReplica)
|
|
nameWithType: StatefulService.StatefulService(StatefulServiceContext serviceContext, ReliableStateManagerReplica stateManagerReplica)
|
|
parameters:
|
|
- description: <p>Describes the stateful service context, which provides information like replica ID, partition ID, service name. </p>
|
|
name: serviceContext
|
|
type: <xref href="system.fabric.StatefulServiceContext?alt=system.fabric.StatefulServiceContext&text=StatefulServiceContext" data-throw-if-not-resolved="False"/>
|
|
- description: <p>Represents a reliable state provider replica. </p>
|
|
name: stateManagerReplica
|
|
type: <xref href="ReliableStateManagerReplica?alt=ReliableStateManagerReplica&text=ReliableStateManagerReplica" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Creates a new stateful service with non-default <xref uid="microsoft.servicefabric.data.ReliableStateManager" data-throw-if-not-resolved="false" data-raw-source="microsoft.servicefabric.data.ReliableStateManager"></xref></p>
|
|
|
|
<p></p>
|
|
syntax: protected StatefulService(StatefulServiceContext serviceContext, ReliableStateManagerReplica stateManagerReplica)
|
|
uid: microsoft.servicefabric.services.runtime.StatefulService.StatefulService(StatefulServiceContext,ReliableStateManagerReplica)
|
|
inheritances:
|
|
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
|
|
- <xref href="microsoft.servicefabric.services.runtime.StatefulServiceBase?alt=microsoft.servicefabric.services.runtime.StatefulServiceBase&text=StatefulServiceBase" data-throw-if-not-resolved="False"/>
|
|
inheritedMembers:
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.backupAsync(BackupDescription)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.backupAsync(BackupDescription,Duration,CancellationToken)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.createServiceReplicaListeners()
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.getAddresses()
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.getPartition()
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.getServiceContext()
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.getStateProviderReplica()
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.onAbort()
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.onChangeRoleAsync(ReplicaRole,CancellationToken)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.onCloseAsync(CancellationToken)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.onDataLossAsync(RestoreContext,CancellationToken)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.onOpenAsync(ReplicaOpenMode,CancellationToken)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.runAsync(CancellationToken)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.setAddresses(Map<String, String>)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.setPartition(StatefulServicePartition)
|
|
- microsoft.servicefabric.services.runtime.StatefulServiceBase.StatefulServiceBase(StatefulServiceContext,StateProviderReplica)
|
|
methods:
|
|
- fullName: microsoft.servicefabric.services.runtime.StatefulService.getReliableStateManager()
|
|
name: getReliableStateManager()
|
|
nameWithType: StatefulService.getReliableStateManager()
|
|
returns:
|
|
description: <p>The <xref uid="microsoft.servicefabric.data.ReliableStateManager" data-throw-if-not-resolved="false" data-raw-source="microsoft.servicefabric.data.ReliableStateManager"></xref> of the replica </p>
|
|
type: <xref href="microsoft.servicefabric.data.ReliableStateManager?alt=microsoft.servicefabric.data.ReliableStateManager&text=ReliableStateManager" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Gets the replica's <xref uid="microsoft.servicefabric.data.ReliableStateManager" data-throw-if-not-resolved="false" data-raw-source="microsoft.servicefabric.data.ReliableStateManager"></xref></p>
|
|
|
|
<p></p>
|
|
syntax: public ReliableStateManager getReliableStateManager()
|
|
uid: microsoft.servicefabric.services.runtime.StatefulService.getReliableStateManager()
|
|
nameWithType: StatefulService
|
|
syntax: public class StatefulService extends StatefulServiceBase
|
|
type: class
|
|
uid: microsoft.servicefabric.services.runtime.StatefulService
|
|
fullName: microsoft.servicefabric.services.runtime.StatefulService
|
|
name: StatefulService
|
|
package: microsoft.servicefabric.services.runtime
|
|
summary: <p>Represents the base class for Microsoft Service Fabric based stateful reliable service which provides an <xref uid="microsoft.servicefabric.data.ReliableStateManager" data-throw-if-not-resolved="false" data-raw-source="microsoft.servicefabric.data.ReliableStateManager"></xref> to manager service's state Derive from this class to implement a Microsoft Service Fabric based stateful reliable service. </p>
|
|
metadata: {}
|