org.openrdf.http.object.tasks
Class ProcessTask
java.lang.Object
org.openrdf.http.object.tasks.Task
org.openrdf.http.object.tasks.ProcessTask
- All Implemented Interfaces:
- Runnable
public class ProcessTask
- extends Task
Invokes the operation and submits the response when this task is run.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.http.object.tasks.Task |
bear, getHttpResponse, getReceivedOn, isDone, isSafe, isStorable, onDone, run, setErrorXSLT, setExecutor, setTrigger, submitResponse, toString |
ProcessTask
public ProcessTask(Request request,
Filter filter,
ResourceOperation operation,
FileLockManager locks,
Handler handler)
ProcessTask
public ProcessTask(Request request,
Filter filter,
ResourceOperation operation,
FileLockManager locks,
Handler handler,
int generation)
getGeneration
public int getGeneration()
- Specified by:
getGeneration in class Task
verified
public void verified()
awaitVerification
public void awaitVerification(long time,
TimeUnit unit)
throws InterruptedException
- Overrides:
awaitVerification in class Task
- Throws:
InterruptedException
perform
public void perform()
throws Exception
- Throws:
Exception
abort
public void abort()
- Overrides:
abort in class Task
cleanup
public void cleanup()
- Overrides:
cleanup in class Task
close
protected void close()
- Specified by:
close in class Task
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.