|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProfilingIdGenerator
The ProfilingIdGenerator
has to work thread dependent. So the id generated by
create()
should only be retrievable by calls to
getCurrent()
and removable by calls to
remove()
from the same thread. The id for one thread has to be equal
for all calls to getCurrent()
between an initial call to
create()
and a call to remove()
. Ids
should be unique within a reasonable amount of time.
Method Summary | |
---|---|
String |
create()
Creates and returns a new id for the current thread. |
String |
getCurrent()
Get the current id for the current thread. |
void |
remove()
Discard the id for the current thread. |
Method Detail |
---|
String create()
String getCurrent()
void remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |