com.sun.sgs.profile
Interface TaskProfileSample

All Superinterfaces:
ProfileSample

public interface TaskProfileSample
extends ProfileSample

A profile sample which provides information to ProfileReports.

If data is added to the sample during a given task, the ProfileReport for that task will include the changes made, and exclude changes made while running other tasks.


Method Summary
 void addSample(long value)
          Adds a new sample to the end of the current list of samples.
 
Methods inherited from interface com.sun.sgs.profile.ProfileSample
getName
 

Method Detail

addSample

void addSample(long value)
Adds a new sample to the end of the current list of samples.

Specified by:
addSample in interface ProfileSample
Parameters:
value - the data sample to be added
Throws:
IllegalStateException - if this is called outside the scope of a task run through the scheduler

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