Class WorkServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.beta.environments.WorkServiceAsync
public final class WorkServiceAsyncImpl implements WorkServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWorkServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
-
Methods inherited from class com.anthropic.services.async.beta.environments.WorkServiceAsync
ack, ack, ack, heartbeat, heartbeat, heartbeat, list, list, list, list, list, poll, poll, poll, poll, poll, retrieve, retrieve, retrieve, stats, stats, stats, stats, stats, stop, stop, stop, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
WorkServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
WorkServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<BetaSelfHostedWork> retrieve(WorkRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaSelfHostedWork> update(WorkUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<WorkListPageAsync> list(WorkListParams params, RequestOptions requestOptions)
-
ack
CompletableFuture<BetaSelfHostedWork> ack(WorkAckParams params, RequestOptions requestOptions)
-
heartbeat
CompletableFuture<BetaSelfHostedWorkHeartbeatResponse> heartbeat(WorkHeartbeatParams params, RequestOptions requestOptions)
-
poll
CompletableFuture<Optional<BetaSelfHostedWork>> poll(WorkPollParams params, RequestOptions requestOptions)
-
stats
CompletableFuture<BetaSelfHostedWorkQueueStats> stats(WorkStatsParams params, RequestOptions requestOptions)
-
stop
CompletableFuture<BetaSelfHostedWork> stop(WorkStopParams params, RequestOptions requestOptions)
-
-
-
-