com.sun.sgs.profile
Interface AggregateProfileOperation

All Superinterfaces:
ProfileOperation

public interface AggregateProfileOperation
extends ProfileOperation

A profile operation which aggregates a count of how many times the operation occurred until it is explicitly cleared.


Method Summary
 void clearCount()
          Clear the count of operation reports.
 long getCount()
          Gets aggregate number of times this operation has been reported.
 
Methods inherited from interface com.sun.sgs.profile.ProfileOperation
getName, report
 

Method Detail

getCount

long getCount()
Gets aggregate number of times this operation has been reported.

Returns:
the current count of operation reports

clearCount

void clearCount()
Clear the count of operation reports.


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