public class RemoteLongTaskServiceImpl extends AbstractRemoteService<LongTaskService> implements RemoteLongTaskService
LongTaskService
implementation that communicates with Confluence remotely.provider
Constructor and Description |
---|
RemoteLongTaskServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> |
get(LongTaskId id,
Expansion... expansions)
Returns the status of a long-running task.
|
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> |
getStatus(LongTaskSubmission submission) |
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFuture
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus
public RemoteLongTaskServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> get(LongTaskId id, Expansion... expansions)
RemoteLongTaskService
get
in interface RemoteLongTaskService
id
- the identifier of the task to returnexpansions
- additional information about thepublic com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<LongTaskStatus>> getStatus(LongTaskSubmission submission)
Copyright © 2003–2020 Atlassian. All rights reserved.