|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TaskProfileCounter
A counter which provides task-local information to ProfileReports.
If the counter is modified during a given task, the ProfileReport
for that task will include the modification, and exclude changes made while
running other tasks.
| Method Summary | |
|---|---|
void |
incrementCount()
Increments the counter by 1. |
void |
incrementCount(long value)
Increments the counter by the given non-negative value. |
| Methods inherited from interface com.sun.sgs.profile.ProfileCounter |
|---|
getName |
| Method Detail |
|---|
void incrementCount()
1.
incrementCount in interface ProfileCounterIllegalStateException - if this is called outside the scope
of a task run through the schedulervoid incrementCount(long value)
incrementCount in interface ProfileCountervalue - the amount to increment the counter
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 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||