public static class ManagedOptions.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ManagedOptions |
build() |
ManagedOptions.Builder |
captureStack(boolean captureStack)
Configure if managed references should capture stack traces when borrowed.
|
ManagedOptions.Builder |
tracing(boolean tracing)
Configure if managed references should trace all it's borrowed references.
|
public ManagedOptions.Builder captureStack(boolean captureStack)
This is mostly used for troubleshooting.
captureStack
- true
to capture stack tracedpublic ManagedOptions.Builder tracing(boolean tracing)
This is mostly used for troubleshooting.
tracing
- true
to trace borrowed referencespublic ManagedOptions build()
Copyright © 2017. All rights reserved.