org.jboss.dna.repository.observation
Class ObservationService.Statistics
java.lang.Object
org.jboss.dna.repository.observation.ObservationService.Statistics
- Enclosing class:
- ObservationService
@ThreadSafe
public class ObservationService.Statistics
- extends java.lang.Object
The statistics for the system. Each sequencing system has an instance of this class that is updated.
- Author:
- Randall Hauch
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reset
public ObservationService.Statistics reset()
getStartTime
public long getStartTime()
- Returns:
- the system time when the statistics were started
getNumberOfNodeChangesEnqueued
public long getNumberOfNodeChangesEnqueued()
- Returns:
- the number of node changes that were processed
getNumberOfEventsIgnored
public long getNumberOfEventsIgnored()
- Returns:
- the number of events that were ignored because the system was not running
getNumberOfEventsEnqueued
public long getNumberOfEventsEnqueued()
- Returns:
- the number of events that were enqueued for processing
getNumberOfEventSetsEnqueued
public long getNumberOfEventSetsEnqueued()
- Returns:
- the number of event sets (transactions) that were enqueued for processing
getNumberOfEventSetsIgnored
public long getNumberOfEventSetsIgnored()
- Returns:
- the number of event sets (transactions) that were ignored because the system was not running
Copyright © 2008. All Rights Reserved.