-
Notifications
You must be signed in to change notification settings - Fork 264
/
IServicePartitionResolver.xml
118 lines (118 loc) · 9.12 KB
/
IServicePartitionResolver.xml
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
<Type Name="IServicePartitionResolver" FullName="Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver">
<TypeSignature Language="C#" Value="public interface IServicePartitionResolver" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IServicePartitionResolver" />
<TypeSignature Language="DocId" Value="T:Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver" />
<TypeSignature Language="VB.NET" Value="Public Interface IServicePartitionResolver" />
<TypeSignature Language="F#" Value="type IServicePartitionResolver = interface" />
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Services</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>
<para>
Defines the interface for the Service partition resolver.
Service resolution is the process of looking up the set of endpoints for the replicas in a partition. A service partition resolver
implements the logic for service resolution.
</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="ResolveAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<System.Fabric.ResolvedServicePartition> ResolveAsync (System.Fabric.ResolvedServicePartition previousRsp, TimeSpan resolveTimeoutPerTry, TimeSpan maxRetryBackoffInterval, System.Threading.CancellationToken cancellationToken);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class System.Fabric.ResolvedServicePartition> ResolveAsync(class System.Fabric.ResolvedServicePartition previousRsp, valuetype System.TimeSpan resolveTimeoutPerTry, valuetype System.TimeSpan maxRetryBackoffInterval, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver.ResolveAsync(System.Fabric.ResolvedServicePartition,System.TimeSpan,System.TimeSpan,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Function ResolveAsync (previousRsp As ResolvedServicePartition, resolveTimeoutPerTry As TimeSpan, maxRetryBackoffInterval As TimeSpan, cancellationToken As CancellationToken) As Task(Of ResolvedServicePartition)" />
<MemberSignature Language="F#" Value="abstract member ResolveAsync : System.Fabric.ResolvedServicePartition * TimeSpan * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.ResolvedServicePartition>" Usage="iServicePartitionResolver.ResolveAsync (previousRsp, resolveTimeoutPerTry, maxRetryBackoffInterval, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Services</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.Fabric.ResolvedServicePartition></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previousRsp" Type="System.Fabric.ResolvedServicePartition" />
<Parameter Name="resolveTimeoutPerTry" Type="System.TimeSpan" />
<Parameter Name="maxRetryBackoffInterval" Type="System.TimeSpan" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="previousRsp">The resolved service partition that the client got from the earlier invocation of the ResolveAsync() method.</param>
<param name="resolveTimeoutPerTry">The timeout per resolve try.</param>
<param name="maxRetryBackoffInterval">
The interval to back-off before retrying the resolution after a failure due to retry-able exception.
</param>
<param name="cancellationToken">
<para>
The CancellationToken that this operation is observing. It is used to notify the operation that it should be canceled.
</para>
</param>
<summary>
<para>
Re-resolves a previously resolved partition of the specified service with specified back-off/retry settings
on retry-able errors. This method overload is used in cases where the client knows that the resolved service partition that it has is no longer valid.
</para>
</summary>
<returns>
A <see cref="T:System.Threading.Tasks.Task">Task</see> that represents outstanding service resolution operation. The result from
the Task is the <see cref="T:System.Fabric.ResolvedServicePartition" /> object, that contains the information
about the resolved service partition including the service endpoints.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ResolveAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<System.Fabric.ResolvedServicePartition> ResolveAsync (Uri serviceUri, Microsoft.ServiceFabric.Services.Client.ServicePartitionKey partitionKey, TimeSpan resolveTimeoutPerTry, TimeSpan maxRetryBackoffInterval, System.Threading.CancellationToken cancellationToken);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class System.Fabric.ResolvedServicePartition> ResolveAsync(class System.Uri serviceUri, class Microsoft.ServiceFabric.Services.Client.ServicePartitionKey partitionKey, valuetype System.TimeSpan resolveTimeoutPerTry, valuetype System.TimeSpan maxRetryBackoffInterval, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ServiceFabric.Services.Client.IServicePartitionResolver.ResolveAsync(System.Uri,Microsoft.ServiceFabric.Services.Client.ServicePartitionKey,System.TimeSpan,System.TimeSpan,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Function ResolveAsync (serviceUri As Uri, partitionKey As ServicePartitionKey, resolveTimeoutPerTry As TimeSpan, maxRetryBackoffInterval As TimeSpan, cancellationToken As CancellationToken) As Task(Of ResolvedServicePartition)" />
<MemberSignature Language="F#" Value="abstract member ResolveAsync : Uri * Microsoft.ServiceFabric.Services.Client.ServicePartitionKey * TimeSpan * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.ResolvedServicePartition>" Usage="iServicePartitionResolver.ResolveAsync (serviceUri, partitionKey, resolveTimeoutPerTry, maxRetryBackoffInterval, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ServiceFabric.Services</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.Fabric.ResolvedServicePartition></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceUri" Type="System.Uri" />
<Parameter Name="partitionKey" Type="Microsoft.ServiceFabric.Services.Client.ServicePartitionKey" />
<Parameter Name="resolveTimeoutPerTry" Type="System.TimeSpan" />
<Parameter Name="maxRetryBackoffInterval" Type="System.TimeSpan" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="serviceUri">Name of the service instance to resolve.</param>
<param name="partitionKey">
<para>
<see cref="T:Microsoft.ServiceFabric.Services.Client.ServicePartitionKey">Key</see> that determines the target partition of the service instance. The <see cref="T:System.Fabric.ServicePartitionKind">partitioning scheme</see>
specified in the key should match the partitioning scheme used to create the service instance.
</para>
</param>
<param name="resolveTimeoutPerTry">The timeout per resolve try.</param>
<param name="maxRetryBackoffInterval">
The interval to back-off before retrying the resolution after a failure due to retry-able exception.
</param>
<param name="cancellationToken">
<para>
The CancellationToken that this operation is observing. It is used to notify the operation that it should be canceled.
</para>
</param>
<summary>
Resolves a partition of the specified service with specified back-off/retry settings on retry-able errors.
</summary>
<returns>
A <see cref="T:System.Threading.Tasks.Task">Task</see> that represents the outstanding service resolution operation. The result from
the Task is the <see cref="T:System.Fabric.ResolvedServicePartition" /> object, that contains the information
about the resolved service partition including the service endpoints.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>