FabricServiceRemotingPartitionClient Class
- java.
lang. Object - ServicePartitionClient<TCommunicationClient>
- FabricServicePartitionClient<C>
- microsoft.
servicefabric. services. remoting. client. FabricServiceRemotingPartitionClient
- microsoft.
public class FabricServiceRemotingPartitionClient extends FabricServicePartitionClient implements ServiceRemotingPartitionClient
Specifies the Service partition client for Remoting communication
Constructor Summary
Constructor | Description |
---|---|
FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri) |
Instantiates the Service partition client for remoting communication. |
FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName, OperationRetrySettings retrySettings) |
Instantiates the Service partition client for remoting communication. |
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture<byte[]> |
invokeAsync(ServiceRemotingMessageHeaders headers, byte[] requestMsgBody, CancellationToken cancellationToken)
A CompletableFuture that represents the asynchronous operation async call to remote object. |
Inherited Members
Constructor Details
FabricServiceRemotingPartitionClient
public FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri)
Instantiates the Service partition client for remoting communication.
Parameters:
FabricServiceRemotingPartitionClient
public FabricServiceRemotingPartitionClient(ServiceRemotingClientFactory remotingClientFactory, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName, OperationRetrySettings retrySettings)
Instantiates the Service partition client for remoting communication.
Parameters:
Method Details
invokeAsync
protected CompletableFuture
A CompletableFuture that represents the asynchronous operation async call to remote object.
Parameters:
CancellationToken object to indicate the cancellation status of the operation.
Returns:
Applies to
Azure SDK for Java