Class MethodExecStats.Builder
java.lang.Object
org.apache.juneau.rest.server.stats.MethodExecStats.Builder
- Enclosing class:
- MethodExecStats
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bean store.build()Creates the bean.Overrides the bean returned by thebuild()method with a pre-instantiated instance.Specifies the Java method.thrownStore(ThrownStore value) Specifies the thrown store for tracking exceptions.Overrides the bean type produced by thebuild()method.
-
Constructor Details
-
Builder
Constructor.- Parameters:
beanStore- The bean store to use for creating beans.
-
-
Method Details
-
beanStore
Returns the bean store.- Returns:
- The bean store.
-
impl
Overrides the bean returned by thebuild()method with a pre-instantiated instance. -
method
Specifies the Java method.- Parameters:
value- The new value for this setting.- Returns:
- This object.
-
thrownStore
Specifies the thrown store for tracking exceptions.- Parameters:
value- The new value for this setting.- Returns:
- This object.
-
type
Overrides the bean type produced by thebuild()method.- Parameters:
value- The setting value. Can benull (defaults toMethodExecStats).- Returns:
- This object.
-
build
Creates the bean.- Returns:
- A new bean.
-