|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionProfileEntry
Access to throw count for a given exception type and its subtypes. The returned counter values are monotonically growing values representing the total number of exceptions of this type thrown since an arbitrary time less or equal to the time profiling was first requested. For resetable behaviour use the getResetableInstance method to acquire a wrapper object that will keep track or the individual profiling state.
ProfilingSystem.newExceptionProfileEntry(java.lang.Class)
Method Summary | |
---|---|
long |
getCompositeCount()
|
java.lang.Class |
getProfiled()
|
ExceptionProfileEntry |
getResetableInstance()
|
long |
getSingleCount()
|
java.util.Map |
getSingleCounts()
|
boolean |
isCompositeEnabled()
|
boolean |
isSingleEnabled()
|
void |
setCompositeEnabled(boolean on)
sets counting for the specific type and subtypes to enabled or disabled |
void |
setSingleEnabled(boolean on)
sets counting for the specific type to enabled or disabled |
Method Detail |
---|
java.lang.Class getProfiled()
boolean isSingleEnabled()
void setSingleEnabled(boolean on) throws NotAvailableException
NotAvailableException
boolean isCompositeEnabled()
void setCompositeEnabled(boolean on) throws NotAvailableException
NotAvailableException
long getCompositeCount()
long getSingleCount()
java.util.Map getSingleCounts()
ExceptionProfileEntry getResetableInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |