Interface DiagnosticsManager
- 
 public interface DiagnosticsManager
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classDiagnosticsManager.BundleStatestatic interfaceDiagnosticsManager.Contributorstatic interfaceDiagnosticsManager.DiagnosticsBundlestatic classDiagnosticsManager.SynchronousStreamContributorstatic classDiagnosticsManager.SynchronousWriterContributor
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddContributor(DiagnosticsManager.Contributor contributor)DiagnosticsManager.BundleStategetBundleState()DiagnosticsManager.DiagnosticsBundlegetDiagnosticsBundle()Calling this fetches the most recent diagnostic bundle.static DiagnosticsManager.ContributornewOutputStreamContributor(java.lang.String filename, FragileConsumer<java.io.OutputStream,java.io.IOException> writeMethod)static DiagnosticsManager.ContributornewStringContributor(java.lang.String filename, FragileSupplier<java.lang.String,java.io.IOException> supplier)Creates a bundle contributor that writes a string to a utf-8 encoded text file in the diagnostic bundle.static DiagnosticsManager.ContributornewWriterContributor(java.lang.String filename, FragileConsumer<java.io.Writer,java.io.IOException> writeMethod)voidremoveContributor(DiagnosticsManager.Contributor contributor)
 
- 
- 
- 
Method Detail- 
getDiagnosticsBundle@Nonnull DiagnosticsManager.DiagnosticsBundle getDiagnosticsBundle() Calling this fetches the most recent diagnostic bundle. If no diagnostic bundle exists, or the most recent diagnostic bundle is expired or faulted, a new one will be generated and returned.
 - 
getBundleState@Nonnull DiagnosticsManager.BundleState getBundleState() - Returns:
- The state of the diagnostic bundle. Reading this does not alter the state. In other words, calling this does not request a bundle to be generated
 
 - 
addContributorvoid addContributor(@Nonnull DiagnosticsManager.Contributor contributor)
 - 
removeContributorvoid removeContributor(@Nonnull DiagnosticsManager.Contributor contributor)
 - 
newOutputStreamContributorstatic DiagnosticsManager.Contributor newOutputStreamContributor(java.lang.String filename, FragileConsumer<java.io.OutputStream,java.io.IOException> writeMethod) 
 - 
newWriterContributorstatic DiagnosticsManager.Contributor newWriterContributor(java.lang.String filename, FragileConsumer<java.io.Writer,java.io.IOException> writeMethod) 
 - 
newStringContributorstatic DiagnosticsManager.Contributor newStringContributor(java.lang.String filename, FragileSupplier<java.lang.String,java.io.IOException> supplier) Creates a bundle contributor that writes a string to a utf-8 encoded text file in the diagnostic bundle.
 
- 
 
-