| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.profiling.data.UUIDProfilingIdGenerator
public class UUIDProfilingIdGenerator
The UUIDProfilingIdGenerator uses ThreadLocal to separate the id management for
 different threads and generates ids based on UUID objects created by
 UUID.randomUUID(), which should be reasonably unique for profiling purposes.
| Constructor Summary | |
|---|---|
| UUIDProfilingIdGenerator() | |
| 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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public UUIDProfilingIdGenerator()
| Method Detail | 
|---|
public String create()
create in interface ProfilingIdGeneratorpublic String getCurrent()
getCurrent in interface ProfilingIdGeneratorpublic void remove()
remove in interface ProfilingIdGenerator| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||