public class RemoteLongTaskServiceImpl extends AbstractRemoteService<LongTaskService> implements RemoteLongTaskService
LongTaskService
implementation that communicates with Confluence remotely.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, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
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–2018 Atlassian. All rights reserved.