|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RunnableMemberProfileEntry
A profiling proxy to handle invocation and timing profiling of runnable member types (i.e Methods or Constructors). Note that an implementation may choose to share the counter objects for profiling between clients, and thus the global state of profiling and the data being collected may not be truly represented by this object. Enabling or disabling any profiling through this interface will only guarantee that at least the requested amount of profiling data is collected.
Method Summary | |
---|---|
long |
getInvocations()
|
java.lang.reflect.AccessibleObject |
getProfiled()
|
RunnableMemberProfileEntry |
getResetableInstance()
|
long |
getTiming()
|
boolean |
isInvocationCountEnabled()
|
boolean |
isTimingEnabled()
|
void |
setEnabled(boolean invocations,
boolean timing)
sets the minimum state of profiling required |
void |
setInvocationCountEnabled(boolean on)
sets the minimum state of profiling required |
void |
setTimingEnabled(boolean on)
sets the minimum state of profiling required |
Method Detail |
---|
java.lang.reflect.AccessibleObject getProfiled()
boolean isInvocationCountEnabled()
boolean isTimingEnabled()
void setEnabled(boolean invocations, boolean timing) throws NotAvailableException
NotAvailableException
void setInvocationCountEnabled(boolean on) throws NotAvailableException
NotAvailableException
void setTimingEnabled(boolean on) throws NotAvailableException
NotAvailableException
long getInvocations()
long getTiming()
RunnableMemberProfileEntry getResetableInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |