|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceJob
Process info for a kernel service.
Method Summary | |
---|---|
java.lang.String |
getActionName()
Get action name. |
QedeqBoSet |
getBlockedModules()
Get QedeqModule s blocked by this process. |
QedeqBo[] |
getCurrentlyProcessedModules()
Get currently processed QedeqModule list. |
java.lang.String |
getExecutionActionDescription()
Get description of currently taken action. |
double |
getExecutionPercentage()
Get percentage of currently running execution. |
long |
getId()
Get process id. |
ModuleServiceCall |
getModuleServiceCall()
Get currently running service call. |
java.lang.String |
getQedeqName()
Get name of currently processed QedeqBo. |
java.lang.String |
getQedeqUrl()
Get URL of currently processed QedeqBo. |
long |
getStart()
Get timestamp for service start. |
long |
getStop()
Get timestamp for service stop. |
java.lang.Thread |
getThread()
Get thread the service runs within. |
void |
interrupt()
Interrupt running thread. |
boolean |
isBlocked()
Is the process running, but is blocked? |
boolean |
isRunning()
Is the process still running? |
boolean |
wasFailure()
Has the process finished with an exception? This is also true, if the user canceled the execution. |
boolean |
wasInterrupted()
Has the process execution been canceled by the user? |
boolean |
wasSuccess()
Has the process normally ended? |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
ModuleServiceCall getModuleServiceCall()
null
.java.lang.Thread getThread()
java.lang.String getQedeqName()
java.lang.String getQedeqUrl()
long getStart()
long getStop()
boolean isRunning()
boolean isBlocked()
boolean wasSuccess()
boolean wasFailure()
wasInterrupted()
.
boolean wasInterrupted()
void interrupt()
InterruptException
when Thread.interrupted()
is true
.
java.lang.String getActionName()
double getExecutionPercentage()
java.lang.String getExecutionActionDescription()
QedeqBoSet getBlockedModules()
QedeqModule
s blocked by this process.
QedeqBo[] getCurrentlyProcessedModules()
QedeqModule
list. This includes QEDEQ modules we try to get a lock for.
long getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |