org.jboss.dna.repository.observation
Class ObservationService.Statistics

java.lang.Object
  extended by 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

Method Summary
 long getNumberOfEventsEnqueued()
           
 long getNumberOfEventSetsEnqueued()
           
 long getNumberOfEventSetsIgnored()
           
 long getNumberOfEventsIgnored()
           
 long getNumberOfNodeChangesEnqueued()
           
 long getStartTime()
           
 ObservationService.Statistics reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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-Present JBoss a division of Red Hat. All Rights Reserved.