-
Notifications
You must be signed in to change notification settings - Fork 244
/
microsoft.servicefabric.services.runtime.StatefulService.yml
73 lines (70 loc) · 6.07 KB
/
microsoft.servicefabric.services.runtime.StatefulService.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
### 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: {}