public class WorkerAsyncRequest extends Object
Constructor and Description |
---|
WorkerAsyncRequest(DescriptionStep descriptionStep,
Callbackable<WorkerAsyncResponse> callingProcess,
Set<WorkerAsyncRequest> currentRunningObjectsInStep,
String queueId,
Semaphore waitingStepAllAsyncRequest,
VitamSession session)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
callCallback(WorkerAsyncResponse workerAsyncResponse)
call the callback at the end of the process
|
Thread |
getCallerThread() |
Set<WorkerAsyncRequest> |
getCurrentRunningObjectsInStep() |
DescriptionStep |
getDescriptionStep()
Arguments of the call
|
String |
getQueueID() |
VitamSession |
getSession() |
Semaphore |
getWaitingStepAllAsyncRequest() |
public WorkerAsyncRequest(DescriptionStep descriptionStep, Callbackable<WorkerAsyncResponse> callingProcess, Set<WorkerAsyncRequest> currentRunningObjectsInStep, String queueId, Semaphore waitingStepAllAsyncRequest, VitamSession session)
descriptionStep
- the step descriptioncallingProcess
- the callbackcurrentRunningObjectsInStep
- the current object in stepqueueId
- the queue idwaitingStepAllAsyncRequest
- the waiting stepsession
- the session idpublic DescriptionStep getDescriptionStep()
public void callCallback(WorkerAsyncResponse workerAsyncResponse)
workerAsyncResponse
- of type WorkerAsyncResponse
public Thread getCallerThread()
public Set<WorkerAsyncRequest> getCurrentRunningObjectsInStep()
public String getQueueID()
public Semaphore getWaitingStepAllAsyncRequest()
public VitamSession getSession()
Copyright © 2018 Vitam. All rights reserved.