Package org.apache.juneau.rest.stats
Class ThrownStats
java.lang.Object
org.apache.juneau.rest.stats.ThrownStats
- All Implemented Interfaces:
- Cloneable
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()static ThrownStats.BuilderStatic creator.Returns the stats on the caused-by exception.intgetCount()Returns the number of times this exception occurred at a specific location in code.Returns the message of the first exception at a specific location in code.longReturns the UTC time of the first occurrence of this exception at a specific location in code.longgetGuid()Returns a globally unique ID for this object.longgetHash()Returns a hash of this exception that can typically be used to uniquely identify it.longReturns the UTC time of the last occurrence of this exception at a specific location in code.Returns the stack trace of the first exception at a specific location in code.Class<?>Returns the exception class.Increments the occurrence count of this exception.toString()
- 
Constructor Details- 
ThrownStatsConstructor.- Parameters:
- builder- The builder for this object.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- beanStore- The bean store to use for creating beans.
- Returns:
- A new builder for this object.
 
- 
getGuidReturns a globally unique ID for this object.A random long generated during the creation of this object. Allows this object to be differentiated from other similar objects in multi-node environments so that statistics can be reliably stored in a centralized location. - Returns:
- The globally unique ID for this object.
 
- 
getHashReturns a hash of this exception that can typically be used to uniquely identify it.- Returns:
- A hash of this exception.
 
- 
getThrownClassReturns the exception class.- Returns:
- The exception class.
 
- 
getCountReturns the number of times this exception occurred at a specific location in code.- Returns:
- The number of times this exception occurred at a specific location in code.
 
- 
getFirstOccurrenceReturns the UTC time of the first occurrence of this exception at a specific location in code.- Returns:
- The UTC time of the first occurrence of this exception at a specific location in code.
 
- 
getLastOccurrenceReturns the UTC time of the last occurrence of this exception at a specific location in code.- Returns:
- The UTC time of the last occurrence of this exception at a specific location in code.
 
- 
getFirstMessageReturns the message of the first exception at a specific location in code.- Returns:
- The message of the first exception at a specific location in code.
 
- 
getStackTraceReturns the stack trace of the first exception at a specific location in code.- Returns:
- The stack trace of the first exception at a specific location in code.
 
- 
getCausedByReturns the stats on the caused-by exception.- Returns:
- The stats on the caused-by exception, never null .
 
- 
incrementIncrements the occurrence count of this exception.- Returns:
- This object.
 
- 
toString
- 
clone
 
-