org.modeshape.repository.sequencer
Class SequencingService.Statistics
java.lang.Object
org.modeshape.repository.sequencer.SequencingService.Statistics
- Enclosing class:
- SequencingService
@ThreadSafe
public class SequencingService.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 |
SequencingService.Statistics
protected SequencingService.Statistics()
reset
public SequencingService.Statistics reset()
getStartTime
public long getStartTime()
- Returns:
- the system time when the statistics were started
getNumberOfNodesSequenced
public long getNumberOfNodesSequenced()
- Returns:
- the number of nodes that were sequenced
getNumberOfNodesSkipped
public long getNumberOfNodesSkipped()
- Returns:
- the number of nodes that were skipped because no sequencers applied
recordNodeSequenced
protected void recordNodeSequenced()
recordNodeSkipped
protected void recordNodeSkipped()
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.