Package org.apache.juneau.rest.stats
Class ThrownStore.Builder
- Enclosing class:
- ThrownStore
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ThrownStoreCreates the bean when the bean type isnull or is the default value.ignoreClasses(Class<?>... value) Specifies the list of classes to ignore when calculating stack traces.Overrides the bean returned by theBeanBuilder.build()method.parent(ThrownStore value) Specifies the parent store of this store.statsImplClass(Class<? extends ThrownStats> value) Specifies a subclass ofThrownStatsto use for individual method statistics.Overrides the bean type produced by theBeanBuilder.build()method.
- 
Constructor Details- 
BuilderConstructor.- Parameters:
- beanStore- The bean store to use for creating beans.
 
 
- 
- 
Method Details- 
buildDefaultDescription copied from class:BeanBuilderCreates the bean when the bean type isnull or is the default value.- Overrides:
- buildDefaultin class- BeanBuilder<ThrownStore>
- Returns:
- A new bean.
 
- 
statsImplClassSpecifies a subclass ofThrownStatsto use for individual method statistics.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
 
- 
parentSpecifies the parent store of this store.Parent stores are used for aggregating statistics across multiple child stores. 
 TheThrownStore.GLOBALstore can be used for aggregating all thrown exceptions in a single JVM.- Parameters:
- value- The parent store. Can be- null .
- Returns:
- This object.
 
- 
ignoreClassesSpecifies the list of classes to ignore when calculating stack traces.Stack trace elements that are the specified class will be ignored. - Parameters:
- value- The list of classes to ignore.
- Returns:
- This object.
 
- 
implDescription copied from class:BeanBuilderOverrides the bean returned by theBeanBuilder.build()method.Use this method if you want this builder to return an already-instantiated bean. - Overrides:
- implin class- BeanBuilder<ThrownStore>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
- 
typeDescription copied from class:BeanBuilderOverrides the bean type produced by theBeanBuilder.build()method.Use this method if you want to instantiated a bean subclass. - Overrides:
- typein class- BeanBuilder<ThrownStore>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
 
-