TotalTimeSpent (RabbIT/4)
Date: 2009-10-13

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.nio.statistics
Class TotalTimeSpent

    java.lang.Object
      rabbit.nio.statistics.TotalTimeSpent

    public class TotalTimeSpent

extends Object

Information about total time spent on a group of tasks.

Author:
  Robert Olofsson

Constructor Summary
`TotalTimeSpent()`

Method Summary
`long` | `getFailures()` Get the number of failed jobs
`long` | `getSuccessful()` Get the number of successfully completed jobs
`long` | `getTotalMillis()` Get the total time spent doing this kind of task
`void` | `update(CompletionEntry ce)` Update this information with data from the newly completed task.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TotalTimeSpent

    public TotalTimeSpent()

Method Detail

### update

    public void update(CompletionEntry ce)

  Update this information with data from the newly completed task.

### getSuccessful

    public long getSuccessful()

  Get the number of successfully completed jobs

### getFailures

    public long getFailures()

  Get the number of failed jobs

### getTotalMillis

    public long getTotalMillis()

  Get the total time spent doing this kind of task

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD