com.sun.sgs.profile
Interface AggregateProfileCounter

All Superinterfaces:
ProfileCounter

public interface AggregateProfileCounter
extends ProfileCounter

A profile counter which is initially 0, and increments until it is explicitly cleared.


Method Summary
 void clearCount()
          Clear the counter, resetting it to 0.
 long getCount()
          Gets the current counter value.
 
Methods inherited from interface com.sun.sgs.profile.ProfileCounter
getName, incrementCount, incrementCount
 

Method Detail

getCount

long getCount()
Gets the current counter value.

Returns:
the current count value

clearCount

void clearCount()
Clear the counter, resetting it to 0.


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved