public class Handle
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Handle.HandleCallbackType |
| Modifier and Type | Method and Description |
|---|---|
void |
addKerberosRequest(long jobid,
java.lang.String token) |
java.lang.String |
getBundle()
get the bundle name.
|
int |
getBundleId()
Get the bundle ID.
|
int |
getCancelled()
Get the amount of cancelled jobs.
|
long |
getCpuTime()
Get the used CPU time for the project.
|
java.util.Vector<java.lang.String> |
getCreatedBundleFiles()
Get a vector of created bundle files.
|
java.lang.String |
getDownloadDir()
Get the download directory where project results are downloaded.
|
long |
getDownloaded()
Get the amount of bytes downloaded.
|
long |
getDownloadLength()
Get the total amount of bytes to be downloaded.
|
java.lang.String |
getErrorFile()
Get the error file location.
|
Project |
getErrorProject()
Get the error project object.
|
int |
getErrors()
Get the amount of errors.
|
int |
getFilesReceived()
Get the number of files received so far in streaming mode.
|
int |
getId()
Get the handle ID.
|
java.util.Vector<java.lang.String> |
getIntermediateFiles() |
int |
getJobCount()
Get the total amount of jobs.
|
int |
getJobCountWOP() |
java.lang.String |
getLastCreatedBundle()
get the last created bundle name.
|
java.lang.String |
getLastCreatedBundleFile()
Get the last created bundle file.
|
int |
getLastError()
Get the status code of the last poll operation, OK if no error or no
poll has yet been executed.
|
java.lang.String |
getLastErrorMessage() |
java.util.logging.Logger |
getLogger() |
java.util.Vector<java.lang.String> |
getNewIntermediateFiles() |
java.util.Vector<java.lang.String> |
getNewStreamedFiles()
Get the list of new streamed files.
|
int |
getPost() |
int |
getProjectId()
Get the project id associated with this handle.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getProjectParameters()
Return project parameters from Handle.
|
int |
getReady()
Get the amount of ready jobs.
|
int |
getReadyWOP()
Get the amount of ready jobs (without polling).
|
java.lang.String |
getResultFile()
Get result file (zip).
|
int |
getStatus()
Get the project status.
|
java.lang.String |
getStderrFile()
Get the current stderr file.
|
java.lang.String |
getStdoutFile()
Get the current stdout file.
|
java.util.Vector<java.lang.String> |
getStreamedFiles()
Get the list of ALL streamed files.
|
TechilaManager |
getTechilaManager() |
long |
getTime()
Get the used time for the project.
|
int |
getTotalJobs() |
int |
getTotalJobsWOP() |
java.lang.String |
getUnzipDirectory()
Get the result unzip directory.
|
int |
getUnzipFileCount()
Get the number of files unzipped.
|
java.util.Vector<java.lang.String> |
getUnzipFiles()
Get a vector of unzipped result files.
|
long |
getUploaded()
Get the amount of bytes uploaded.
|
long |
getUploadLength()
Get the total amount of bytes to be uploaded.
|
boolean |
getUseProjectMessages() |
int |
getWaiting()
Get the amount of waiting jobs.
|
int |
getWorking()
Get the amount of working jobs.
|
void |
setBundleId(int bundleId)
Set bundle ID.
|
void |
setPost(int post) |
void |
setProjectParameters(java.util.Hashtable<java.lang.String,java.lang.String> params)
Save the project parameters to Handle.
|
void |
setUseProjectMessages(boolean useProjectMessages) |
void |
stopKerberos() |
public int getId()
public java.lang.String getBundle()
public java.lang.String getLastCreatedBundle()
public int getBundleId()
public void setBundleId(int bundleId)
bundleId - bundle IDpublic int getProjectId()
public java.lang.String getDownloadDir()
public java.lang.String getResultFile()
public java.lang.String getErrorFile()
public java.lang.String getStdoutFile()
public java.lang.String getStderrFile()
public java.lang.String getLastErrorMessage()
public java.lang.String getUnzipDirectory()
public java.util.Vector<java.lang.String> getUnzipFiles()
public java.util.Vector<java.lang.String> getNewStreamedFiles()
public java.util.Vector<java.lang.String> getIntermediateFiles()
public java.util.Vector<java.lang.String> getNewIntermediateFiles()
public java.util.Vector<java.lang.String> getStreamedFiles()
public Project getErrorProject()
public java.util.Vector<java.lang.String> getCreatedBundleFiles()
public java.lang.String getLastCreatedBundleFile()
public void setProjectParameters(java.util.Hashtable<java.lang.String,java.lang.String> params)
params - project parameterspublic java.util.Hashtable<java.lang.String,java.lang.String> getProjectParameters()
public int getStatus()
public int getReady()
public int getReadyWOP()
public int getWorking()
public int getWaiting()
public int getCancelled()
public int getJobCount()
public int getJobCountWOP()
public int getTotalJobs()
public int getTotalJobsWOP()
public int getPost()
public void setPost(int post)
public int getErrors()
public long getCpuTime()
public long getTime()
public int getLastError()
public long getDownloaded()
public long getDownloadLength()
public long getUploaded()
public long getUploadLength()
public int getUnzipFileCount()
public int getFilesReceived()
public void setUseProjectMessages(boolean useProjectMessages)
public boolean getUseProjectMessages()
public java.util.logging.Logger getLogger()
public TechilaManager getTechilaManager()
public void stopKerberos()
public void addKerberosRequest(long jobid,
java.lang.String token)