azure-docs-sdk-java/docs-ref-autogen/microsoft.servicefabric.act...

61 строка
4.2 KiB
YAML

### YamlMime:JavaType
methods:
- fullName: microsoft.servicefabric.actors.ActorService.deleteActorAsync(ActorId actorId, CancellationToken cancellationToken)
name: deleteActorAsync(ActorId actorId, CancellationToken cancellationToken)
nameWithType: ActorService.deleteActorAsync(ActorId actorId, CancellationToken cancellationToken)
parameters:
- description: >-
<p>
<xref uid="microsoft.servicefabric.actors.ActorId" data-throw-if-not-resolved="false" data-raw-source="ActorId"></xref> of the actor to be deleted. </p>
name: actorId
type: <xref href="microsoft.servicefabric.actors.ActorId?alt=microsoft.servicefabric.actors.ActorId&text=ActorId" 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 task that represents the asynchronous operation of call to server. </p>
type: <xref href="CompletableFuture%3C%3F%3E?alt=CompletableFuture%3C%3F%3E&text=CompletableFuture%3C%3F%3E" data-throw-if-not-resolved="False"/>
summary: >-
<p>Deletes an Actor from the Actor service.</p>
<p>
An active actor, will be deactivated and its state will also be deleted from state provider. An in-active actor's state will be deleted from state provider. If this method is called for a non-existent actor id in the system, it will be a no-op. </p>
syntax: public CompletableFuture<?> deleteActorAsync(ActorId actorId, CancellationToken cancellationToken)
uid: microsoft.servicefabric.actors.ActorService.deleteActorAsync(ActorId,CancellationToken)
- fullName: microsoft.servicefabric.actors.ActorService.getActorsAsync(ContinuationToken continuationToken, CancellationToken cancellationToken)
name: getActorsAsync(ContinuationToken continuationToken, CancellationToken cancellationToken)
nameWithType: ActorService.getActorsAsync(ContinuationToken continuationToken, CancellationToken cancellationToken)
parameters:
- description: <p>A continuation token to start querying the results from. A null value of continuation token means start returning values form the beginning. </p>
name: continuationToken
type: <xref href="microsoft.servicefabric.actors.ContinuationToken?alt=microsoft.servicefabric.actors.ContinuationToken&text=ContinuationToken" 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 of call to server. </p>
type: CompletableFuture&lt;<xref href="microsoft.servicefabric.actors.PagedResult?alt=microsoft.servicefabric.actors.PagedResult&text=PagedResult" data-throw-if-not-resolved="False"/>&lt;<xref href="microsoft.servicefabric.actors.ActorInformation?alt=microsoft.servicefabric.actors.ActorInformation&text=ActorInformation" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>Gets the list of Actors by querying the actor service.</p>
<p></p>
syntax: public CompletableFuture<PagedResult<ActorInformation>> getActorsAsync(ContinuationToken continuationToken, CancellationToken cancellationToken)
uid: microsoft.servicefabric.actors.ActorService.getActorsAsync(ContinuationToken,CancellationToken)
nameWithType: ActorService
syntax: public interface ActorService extends Service
type: interface
uid: microsoft.servicefabric.actors.ActorService
fullName: microsoft.servicefabric.actors.ActorService
name: ActorService
package: microsoft.servicefabric.actors
summary: <p>Defines the interface containing methods which can be called at Actor Service level. </p>
metadata: {}