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 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObservationService.Statistics
protected ObservationService.Statistics()
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
recordNodesChanged
protected void recordNodesChanged(long changeCount)
recordEventSet
protected void recordEventSet(long eventsInSet)
recordIgnoredEventSet
protected void recordIgnoredEventSet(long eventsInSet)
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.