|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.processqueue.QueueStatistics
public class QueueStatistics
Default implementation of the statistics.
Constructor Summary | |
---|---|
QueueStatistics()
Default constructor |
|
QueueStatistics(int total,
int scheduled,
int queued,
int running,
int failed)
Constructor receiving all values. |
Method Summary | |
---|---|
int |
getFailed()
Returns the amount of process in Error status in the queue. |
int |
getQueued()
Returns the amount of process in Queued status in the queue. |
int |
getRunning()
Returns the amount of process in InProgress status in the queue. |
int |
getScheduled()
Returns the amount of process in Scheduled status in the queue. |
int |
getTotal()
Returns the total amount of processes in the queue. |
void |
setFailed(int failed)
Sets the amount of process in Failed status in the queue. |
void |
setQueued(int queued)
Sets the amount of process in Queued status in the queue. |
void |
setRunning(int running)
Sets the amount of process in Running status in the queue. |
void |
setScheduled(int scheduled)
Sets the amount of process in Scheduled status in the queue. |
void |
setTotal(int total)
Sets the total amount of processes in the queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueStatistics()
public QueueStatistics(int total, int scheduled, int queued, int running, int failed)
total
- number of items in queue.scheduled
- number of scheduled items in queue.queued
- number of queued items in queue.running
- number o items inProgress in queue.failed
- number of errors in queue.Method Detail |
---|
public void setScheduled(int scheduled)
scheduled
- number of scheduled items.public void setQueued(int queued)
queued
- number of processes in queued state.public void setRunning(int running)
number
- of processes in running state.public void setFailed(int failed)
number
- of processes in failed state.public void setTotal(int total)
number
- of processes in the queue.public int getScheduled()
getScheduled
in interface IQueueStatistics
public int getQueued()
getQueued
in interface IQueueStatistics
public int getRunning()
getRunning
in interface IQueueStatistics
public int getFailed()
getFailed
in interface IQueueStatistics
public int getTotal()
getTotal
in interface IQueueStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |