-
Notifications
You must be signed in to change notification settings - Fork 245
/
system.fabric.FabricReplicator.yml
244 lines (228 loc) · 20.1 KB
/
system.fabric.FabricReplicator.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
### YamlMime:JavaType
constructors:
- fullName: system.fabric.FabricReplicator.FabricReplicator(long replicator)
name: FabricReplicator(long replicator)
nameWithType: FabricReplicator.FabricReplicator(long replicator)
parameters:
- description: <p>pointer to native replicator. </p>
name: replicator
type: <xref href="long?alt=long&text=long" data-throw-if-not-resolved="False"/>
summary: <p>Creates instance of <xref uid="system.fabric.FabricReplicator" data-throw-if-not-resolved="false" data-raw-source="FabricReplicator"></xref>. </p>
syntax: protected FabricReplicator(long replicator)
uid: system.fabric.FabricReplicator.FabricReplicator(long)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="system.fabric.PrimaryReplicator?alt=system.fabric.PrimaryReplicator&text=PrimaryReplicator" data-throw-if-not-resolved="False"/>
- <xref href="system.fabric.Replicator?alt=system.fabric.Replicator&text=Replicator" data-throw-if-not-resolved="False"/>
methods:
- fullName: system.fabric.FabricReplicator.abort()
name: abort()
nameWithType: FabricReplicator.abort()
overridden: system.fabric.Replicator.abort()
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public void abort()
uid: system.fabric.FabricReplicator.abort()
- fullName: system.fabric.FabricReplicator.buildReplicaAsync(ReplicaInformation replicaInfo, CancellationToken cancellationToken)
name: buildReplicaAsync(ReplicaInformation replicaInfo, CancellationToken cancellationToken)
nameWithType: FabricReplicator.buildReplicaAsync(ReplicaInformation replicaInfo, CancellationToken cancellationToken)
overridden: system.fabric.PrimaryReplicator.buildReplicaAsync(ReplicaInformation,CancellationToken)
parameters:
- description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
name: replicaInfo
type: <xref href="system.fabric.ReplicaInformation?alt=system.fabric.ReplicaInformation&text=ReplicaInformation" data-throw-if-not-resolved="False"/>
- description: >-
<p>
<xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object to indicate the cancellation status of the operation. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>A future that represents the asynchronous operation. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture?alt=CompletableFuture&text=CompletableFuture" data-throw-if-not-resolved="False"/>
summary: >-
<p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
<p></p>
syntax: public CompletableFuture buildReplicaAsync(ReplicaInformation replicaInfo, CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.buildReplicaAsync(ReplicaInformation,CancellationToken)
- fullName: system.fabric.FabricReplicator.changeRoleAsync(Epoch epoch, ReplicaRole role, CancellationToken cancellationToken)
name: changeRoleAsync(Epoch epoch, ReplicaRole role, CancellationToken cancellationToken)
nameWithType: FabricReplicator.changeRoleAsync(Epoch epoch, ReplicaRole role, CancellationToken cancellationToken)
overridden: system.fabric.Replicator.changeRoleAsync(Epoch,ReplicaRole,CancellationToken)
parameters:
- description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
name: epoch
type: <xref href="system.fabric.Epoch?alt=system.fabric.Epoch&text=Epoch" data-throw-if-not-resolved="False"/>
- description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
name: role
type: <xref href="system.fabric.ReplicaRole?alt=system.fabric.ReplicaRole&text=ReplicaRole" data-throw-if-not-resolved="False"/>
- description: <p>The <xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>A future that represents the asynchronous operation. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture?alt=CompletableFuture&text=CompletableFuture" data-throw-if-not-resolved="False"/>
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public CompletableFuture changeRoleAsync(Epoch epoch, ReplicaRole role, CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.changeRoleAsync(Epoch,ReplicaRole,CancellationToken)
- fullName: system.fabric.FabricReplicator.closeAsync(CancellationToken cancellationToken)
name: closeAsync(CancellationToken cancellationToken)
nameWithType: FabricReplicator.closeAsync(CancellationToken cancellationToken)
overridden: system.fabric.Replicator.closeAsync(CancellationToken)
parameters:
- description: <p>The <xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>A future that represents the asynchronous operation. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture?alt=CompletableFuture&text=CompletableFuture" data-throw-if-not-resolved="False"/>
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public CompletableFuture closeAsync(CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.closeAsync(CancellationToken)
- fullName: system.fabric.FabricReplicator.getCatchUpCapability()
name: getCatchUpCapability()
nameWithType: FabricReplicator.getCatchUpCapability()
overridden: system.fabric.Replicator.getCatchUpCapability()
returns:
description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
type: <xref href="long?alt=long&text=long" data-throw-if-not-resolved="False"/>
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public long getCatchUpCapability()
uid: system.fabric.FabricReplicator.getCatchUpCapability()
- fullName: system.fabric.FabricReplicator.getCurrentProgress()
name: getCurrentProgress()
nameWithType: FabricReplicator.getCurrentProgress()
overridden: system.fabric.Replicator.getCurrentProgress()
returns:
description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
type: <xref href="long?alt=long&text=long" data-throw-if-not-resolved="False"/>
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public long getCurrentProgress()
uid: system.fabric.FabricReplicator.getCurrentProgress()
- fullName: system.fabric.FabricReplicator.onDataLossAsync(CancellationToken cancellationToken)
name: onDataLossAsync(CancellationToken cancellationToken)
nameWithType: FabricReplicator.onDataLossAsync(CancellationToken cancellationToken)
overridden: system.fabric.PrimaryReplicator.onDataLossAsync(CancellationToken)
parameters:
- description: >-
<p>
<xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object to indicate the cancellation status of the operation. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>A CompletableFuture that represents the asynchronous operation. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture%3CBoolean%3E?alt=CompletableFuture%3CBoolean%3E&text=CompletableFuture%3CBoolean%3E" data-throw-if-not-resolved="False"/>
summary: >-
<p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
<p></p>
syntax: public CompletableFuture<Boolean> onDataLossAsync(CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.onDataLossAsync(CancellationToken)
- fullName: system.fabric.FabricReplicator.openAsync(CancellationToken cancellationToken)
name: openAsync(CancellationToken cancellationToken)
nameWithType: FabricReplicator.openAsync(CancellationToken cancellationToken)
overridden: system.fabric.Replicator.openAsync(CancellationToken)
parameters:
- description: <p>The <xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>A future that represents the asynchronous operation. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture%3CString%3E?alt=CompletableFuture%3CString%3E&text=CompletableFuture%3CString%3E" data-throw-if-not-resolved="False"/>
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public CompletableFuture<String> openAsync(CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.openAsync(CancellationToken)
- fullName: system.fabric.FabricReplicator.removeReplica(long replicaId)
name: removeReplica(long replicaId)
nameWithType: FabricReplicator.removeReplica(long replicaId)
overridden: system.fabric.PrimaryReplicator.removeReplica(long)
parameters:
- description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
name: replicaId
type: <xref href="long?alt=long&text=long" data-throw-if-not-resolved="False"/>
summary: >-
<p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
<p></p>
<p>
<b>Remarks:</b> This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public void removeReplica(long replicaId)
uid: system.fabric.FabricReplicator.removeReplica(long)
- fullName: system.fabric.FabricReplicator.updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration, ReplicaSetConfiguration previousConfiguration)
name: updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration, ReplicaSetConfiguration previousConfiguration)
nameWithType: FabricReplicator.updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration, ReplicaSetConfiguration previousConfiguration)
overridden: system.fabric.PrimaryReplicator.updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration,ReplicaSetConfiguration)
parameters:
- description: <p>For Internal Use Only. </p>
name: currentConfiguration
type: <xref href="system.fabric.ReplicaSetConfiguration?alt=system.fabric.ReplicaSetConfiguration&text=ReplicaSetConfiguration" data-throw-if-not-resolved="False"/>
- description: <p>For Internal Use Only. </p>
name: previousConfiguration
type: <xref href="system.fabric.ReplicaSetConfiguration?alt=system.fabric.ReplicaSetConfiguration&text=ReplicaSetConfiguration" data-throw-if-not-resolved="False"/>
summary: >-
<p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
<p></p>
syntax: public void updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration, ReplicaSetConfiguration previousConfiguration)
uid: system.fabric.FabricReplicator.updateCatchUpReplicaSetConfiguration(ReplicaSetConfiguration,ReplicaSetConfiguration)
- fullName: system.fabric.FabricReplicator.updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration)
name: updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration)
nameWithType: FabricReplicator.updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration)
overridden: system.fabric.PrimaryReplicator.updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration)
parameters:
- description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
name: currentConfiguration
type: <xref href="system.fabric.ReplicaSetConfiguration?alt=system.fabric.ReplicaSetConfiguration&text=ReplicaSetConfiguration" data-throw-if-not-resolved="False"/>
summary: >-
<p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code.</p>
<p></p>
<p>
<b>Remarks:</b> This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public void updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration currentConfiguration)
uid: system.fabric.FabricReplicator.updateCurrentReplicaSetConfiguration(ReplicaSetConfiguration)
- fullName: system.fabric.FabricReplicator.updateEpochAsync(Epoch epoch, CancellationToken cancellationToken)
name: updateEpochAsync(Epoch epoch, CancellationToken cancellationToken)
nameWithType: FabricReplicator.updateEpochAsync(Epoch epoch, CancellationToken cancellationToken)
overridden: system.fabric.Replicator.updateEpochAsync(Epoch,CancellationToken)
parameters:
- description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
name: epoch
type: <xref href="system.fabric.Epoch?alt=system.fabric.Epoch&text=Epoch" data-throw-if-not-resolved="False"/>
- description: <p>The <xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture?alt=CompletableFuture&text=CompletableFuture" data-throw-if-not-resolved="False"/>
summary: <p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
syntax: public CompletableFuture updateEpochAsync(Epoch epoch, CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.updateEpochAsync(Epoch,CancellationToken)
- fullName: system.fabric.FabricReplicator.waitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken)
name: waitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken)
nameWithType: FabricReplicator.waitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken)
overridden: system.fabric.PrimaryReplicator.waitForCatchUpQuorumAsync(ReplicaSetQuorumMode,CancellationToken)
parameters:
- description: <p>For Internal Use Only. </p>
name: quorumMode
type: <xref href="system.fabric.ReplicaSetQuorumMode?alt=system.fabric.ReplicaSetQuorumMode&text=ReplicaSetQuorumMode" data-throw-if-not-resolved="False"/>
- description: >-
<p>
<xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object to indicate the cancellation status of the operation. </p>
name: cancellationToken
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
returns:
description: <p>A future that represents asynchrnous completion. The future completes exceptionally with <xref uid="" data-throw-if-not-resolved="false" data-raw-source="FabricException"></xref> for fabric related failures. </p>
type: <xref href="CompletableFuture?alt=CompletableFuture&text=CompletableFuture" data-throw-if-not-resolved="False"/>
summary: >-
<p>This supports the Service Fabric infrastructure and is not meant to be used directly from your code. </p>
<p>For Internal Use Only. </p>
<p></p>
syntax: public CompletableFuture waitForCatchUpQuorumAsync(ReplicaSetQuorumMode quorumMode, CancellationToken cancellationToken)
uid: system.fabric.FabricReplicator.waitForCatchUpQuorumAsync(ReplicaSetQuorumMode,CancellationToken)
nameWithType: FabricReplicator
syntax: public class FabricReplicator implements Replicator
type: class
uid: system.fabric.FabricReplicator
fullName: system.fabric.FabricReplicator
name: FabricReplicator
package: system.fabric
summary: >-
<p>Replicates state for high availability and reliability. </p>
<p>
<b>Remarks:</b>Provides the default implementation of the <xref uid="system.fabric.StateReplicator" data-throw-if-not-resolved="false" data-raw-source="system.fabric.StateReplicator"></xref>, <xref uid="system.fabric.Replicator" data-throw-if-not-resolved="false" data-raw-source="system.fabric.Replicator"></xref>, and <xref uid="system.fabric.PrimaryReplicator" data-throw-if-not-resolved="false" data-raw-source="system.fabric.PrimaryReplicator"></xref> interfaces, which user services can use, along with their implementation of the <xref uid="system.fabric.StateProvider" data-throw-if-not-resolved="false" data-raw-source="system.fabric.StateProvider"></xref> interface. An instance of the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="system.fabric.FabricReplicator"></xref> class is obtained via the <xref uid="system.fabric.StatefulServicePartition.createReplicator(StateProvider,ReplicatorSettings)" data-throw-if-not-resolved="false" data-raw-source="system.fabric.StatefulServicePartition#createReplicator( system.fabric.StateProvider, system.fabric.ReplicatorSettings)"></xref> method, which can be cast to <xref uid="system.fabric.StateReplicator" data-throw-if-not-resolved="false" data-raw-source="system.fabric.StateReplicator"></xref> for use. </p>
metadata: {}