Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractPageCallback<T,
R> - Class in com.atlassian.diagnostics -
A convenience base class for a
streaming callbackthat returns some possiblynullvalue of type Tat the end of streamingand does no initialisation itself of this valuebefore the first item. - AbstractPageCallback(R) - Constructor for class com.atlassian.diagnostics.AbstractPageCallback
- alert(AlertRequest) - Method in interface com.atlassian.diagnostics.ComponentMonitor
-
Raises a new alert for the
component. - Alert - Interface in com.atlassian.diagnostics
-
Represent an alert
raisedby one of thecomponent monitorsto signal that anissuehas been detected by the monitor. - AlertBuilder - Interface in com.atlassian.diagnostics
- AlertCallbacks - Class in com.atlassian.diagnostics
-
Utility class for creating useful and commonly-used
page streaming callbacks - AlertCount - Interface in com.atlassian.diagnostics
- AlertCriteria - Class in com.atlassian.diagnostics
-
The criteria for including an
Alertin an operation (e.g. - AlertCriteria.Builder - Class in com.atlassian.diagnostics
- AlertListener - Interface in com.atlassian.diagnostics
-
Listener that can be
subscribedto receive systemalerts - AlertRequest - Class in com.atlassian.diagnostics
-
Request to raise an alert
- AlertRequest.Builder - Class in com.atlassian.diagnostics
- AlertTrigger - Class in com.atlassian.diagnostics
-
Identifies the module (or more generically the 'thing in the system') and/or the plugin that was responsible for the
alert. - AlertTrigger.Builder - Class in com.atlassian.diagnostics
- AlertWithElisions - Interface in com.atlassian.diagnostics
B
- build() - Method in interface com.atlassian.diagnostics.AlertBuilder
-
Builds the alert
- build() - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- build() - Method in class com.atlassian.diagnostics.AlertRequest.Builder
- build() - Method in class com.atlassian.diagnostics.AlertTrigger.Builder
- build() - Method in interface com.atlassian.diagnostics.IssueBuilder
-
Builds the issue
- build() - Method in class com.atlassian.diagnostics.PageRequest.Builder
- builder() - Static method in class com.atlassian.diagnostics.AlertCriteria
- builder(Issue) - Static method in class com.atlassian.diagnostics.AlertRequest
- Builder() - Constructor for class com.atlassian.diagnostics.AlertCriteria.Builder
- Builder() - Constructor for class com.atlassian.diagnostics.AlertTrigger.Builder
- Builder(int) - Constructor for class com.atlassian.diagnostics.PageRequest.Builder
- Builder(AlertCriteria) - Constructor for class com.atlassian.diagnostics.AlertCriteria.Builder
- Builder(Issue) - Constructor for class com.atlassian.diagnostics.AlertRequest.Builder
- Builder(PageRequest) - Constructor for class com.atlassian.diagnostics.PageRequest.Builder
C
- CallbackResult - Enum Class in com.atlassian.diagnostics
-
Result type use by
callbacksto signal whether the callback has received enough invocations - CallingBundleResolver - Class in com.atlassian.diagnostics.util
-
Retrieves the OSGI bundle or plugin that's calling into the current code path from OSGI.
- CallingBundleResolver() - Constructor for class com.atlassian.diagnostics.util.CallingBundleResolver
- collectingAll() - Static method in class com.atlassian.diagnostics.AlertCallbacks
-
Convenience method to return a
streaming callbackthat collects the entire list of the streamed items. - com.atlassian.diagnostics - package com.atlassian.diagnostics
- com.atlassian.diagnostics.detail - package com.atlassian.diagnostics.detail
- com.atlassian.diagnostics.util - package com.atlassian.diagnostics.util
- Component - Interface in com.atlassian.diagnostics
-
Identifies a component in the system that provides monitoring support
- componentIds(Iterable<String>) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- componentIds(String, String...) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- ComponentMonitor - Interface in com.atlassian.diagnostics
- CONTINUE - Enum constant in enum class com.atlassian.diagnostics.CallbackResult
- createMonitor(String, String) - Method in interface com.atlassian.diagnostics.MonitoringService
-
Deprecated.
- createMonitor(String, String, MonitorConfiguration) - Method in interface com.atlassian.diagnostics.MonitoringService
-
Creates a new monitor for a component with the provided ID and name, or returns the existing monitor if it has already been created.
D
- defineIssue(int) - Method in interface com.atlassian.diagnostics.ComponentMonitor
- descriptionI18nKey(String) - Method in interface com.atlassian.diagnostics.IssueBuilder
- destroyMonitor(String) - Method in interface com.atlassian.diagnostics.MonitoringService
-
Destroys the monitor.
- details(Object) - Method in interface com.atlassian.diagnostics.AlertBuilder
- details(Supplier<Object>) - Method in class com.atlassian.diagnostics.AlertRequest.Builder
- detailsAsJson(String) - Method in interface com.atlassian.diagnostics.AlertBuilder
- DiagnosticsConfiguration - Interface in com.atlassian.diagnostics
-
Configuration provided by the host application, used to configure atlassian-diagnostics
- DiagnosticsConstants - Class in com.atlassian.diagnostics
- DONE - Enum constant in enum class com.atlassian.diagnostics.CallbackResult
E
- Elisions - Interface in com.atlassian.diagnostics
-
Describes how many alerts were elided (because they were identical)
- equals(Object) - Method in class com.atlassian.diagnostics.AlertTrigger
- equals(Object) - Method in class com.atlassian.diagnostics.PageRequest
- equals(Object) - Method in class com.atlassian.diagnostics.PluginDetails
- ERROR - Enum constant in enum class com.atlassian.diagnostics.Severity
F
- findAllComponents() - Method in interface com.atlassian.diagnostics.MonitoringService
- findAllIssues() - Method in interface com.atlassian.diagnostics.MonitoringService
- findAllNodesWithAlerts() - Method in interface com.atlassian.diagnostics.MonitoringService
- findAllPluginsWithAlerts() - Method in interface com.atlassian.diagnostics.MonitoringService
- forEach(Consumer<? super T>) - Method in class com.atlassian.diagnostics.Page
- fromId(int) - Static method in enum class com.atlassian.diagnostics.Severity
G
- getAlertRetentionPeriod() - Method in interface com.atlassian.diagnostics.DiagnosticsConfiguration
- getAlertTruncationInterval() - Method in interface com.atlassian.diagnostics.DiagnosticsConfiguration
- getCallingBundle() - Method in class com.atlassian.diagnostics.util.CallingBundleResolver
- getComponent() - Method in interface com.atlassian.diagnostics.ComponentMonitor
- getComponent() - Method in interface com.atlassian.diagnostics.Issue
- getComponentIds() - Method in class com.atlassian.diagnostics.AlertCriteria
- getCount() - Method in interface com.atlassian.diagnostics.Elisions
- getCountsByNodeName() - Method in interface com.atlassian.diagnostics.AlertCount
- getDescription() - Method in interface com.atlassian.diagnostics.Issue
- getDetails() - Method in interface com.atlassian.diagnostics.Alert
- getDetailsSupplier() - Method in class com.atlassian.diagnostics.AlertRequest
- getElisions() - Method in interface com.atlassian.diagnostics.AlertWithElisions
- getEnd() - Method in interface com.atlassian.diagnostics.Interval
-
The end instant (exclusive).
- getId() - Method in interface com.atlassian.diagnostics.Alert
- getId() - Method in interface com.atlassian.diagnostics.Component
- getId() - Method in interface com.atlassian.diagnostics.detail.ThreadDump
- getId() - Method in interface com.atlassian.diagnostics.Issue
- getId() - Method in enum class com.atlassian.diagnostics.Severity
- getInterval() - Method in interface com.atlassian.diagnostics.Elisions
- getIssue() - Method in interface com.atlassian.diagnostics.Alert
- getIssue() - Method in interface com.atlassian.diagnostics.AlertCount
- getIssue() - Method in class com.atlassian.diagnostics.AlertRequest
- getIssue(int) - Method in interface com.atlassian.diagnostics.ComponentMonitor
- getIssueIds() - Method in class com.atlassian.diagnostics.AlertCriteria
- getIssues() - Method in interface com.atlassian.diagnostics.ComponentMonitor
- getJsonMapper() - Method in interface com.atlassian.diagnostics.Issue
- getKey() - Method in class com.atlassian.diagnostics.PluginDetails
- getLimit() - Method in class com.atlassian.diagnostics.PageRequest
- getModule() - Method in class com.atlassian.diagnostics.AlertTrigger
- getMonitor(String) - Method in interface com.atlassian.diagnostics.MonitoringService
- getName() - Method in interface com.atlassian.diagnostics.Component
- getName() - Method in interface com.atlassian.diagnostics.detail.ThreadDump
- getName() - Method in class com.atlassian.diagnostics.PluginDetails
- getNextRequest() - Method in class com.atlassian.diagnostics.Page
- getNextRequest() - Method in interface com.atlassian.diagnostics.PageSummary
- getNodeName() - Method in interface com.atlassian.diagnostics.Alert
- getNodeName() - Method in interface com.atlassian.diagnostics.DiagnosticsConfiguration
- getNodeNames() - Method in class com.atlassian.diagnostics.AlertCriteria
- getPlugin() - Method in interface com.atlassian.diagnostics.AlertCount
- getPluginKey() - Method in class com.atlassian.diagnostics.AlertTrigger
- getPluginKeys() - Method in class com.atlassian.diagnostics.AlertCriteria
- getPluginVersion() - Method in class com.atlassian.diagnostics.AlertTrigger
- getPrevRequest() - Method in class com.atlassian.diagnostics.Page
- getPrevRequest() - Method in interface com.atlassian.diagnostics.PageSummary
- getRequest() - Method in class com.atlassian.diagnostics.Page
- getSeverities() - Method in class com.atlassian.diagnostics.AlertCriteria
- getSeverity() - Method in interface com.atlassian.diagnostics.Issue
- getSince() - Method in class com.atlassian.diagnostics.AlertCriteria
- getStackTrace() - Method in interface com.atlassian.diagnostics.detail.ThreadDump
- getStart() - Method in interface com.atlassian.diagnostics.Interval
-
The start instant (inclusive).
- getStart() - Method in class com.atlassian.diagnostics.PageRequest
- getState() - Method in interface com.atlassian.diagnostics.detail.ThreadDump
- getSummary() - Method in interface com.atlassian.diagnostics.Issue
- getThreadDumpProducerCooldown() - Method in interface com.atlassian.diagnostics.DiagnosticsConfiguration
- getTimestamp() - Method in interface com.atlassian.diagnostics.Alert
- getTimestamp() - Method in class com.atlassian.diagnostics.AlertRequest
- getTotalCount() - Method in interface com.atlassian.diagnostics.AlertCount
- getTrigger() - Method in interface com.atlassian.diagnostics.Alert
- getTrigger() - Method in class com.atlassian.diagnostics.AlertRequest
- getType() - Method in interface com.atlassian.diagnostics.JsonMapper
- getUntil() - Method in class com.atlassian.diagnostics.AlertCriteria
- getValues() - Method in class com.atlassian.diagnostics.Page
- getVersion() - Method in class com.atlassian.diagnostics.PluginDetails
H
- hashCode() - Method in class com.atlassian.diagnostics.AlertTrigger
- hashCode() - Method in class com.atlassian.diagnostics.PageRequest
- hashCode() - Method in class com.atlassian.diagnostics.PluginDetails
I
- INFO - Enum constant in enum class com.atlassian.diagnostics.Severity
- Interval - Interface in com.atlassian.diagnostics
- isDaemon() - Method in interface com.atlassian.diagnostics.detail.ThreadDump
- isDataCenterOnly() - Method in interface com.atlassian.diagnostics.MonitorConfiguration
- isEmpty() - Method in class com.atlassian.diagnostics.Page
- isEnabled() - Method in interface com.atlassian.diagnostics.ComponentMonitor
- isEnabled() - Method in interface com.atlassian.diagnostics.DiagnosticsConfiguration
- isEnabled() - Method in interface com.atlassian.diagnostics.MonitorConfiguration
-
Checks if a monitor is enabled.
- isEnabled() - Method in interface com.atlassian.diagnostics.MonitoringService
- Issue - Interface in com.atlassian.diagnostics
-
An issue that can be detected by a
ComponentMonitorand for which analertcan be raised - IssueBuilder - Interface in com.atlassian.diagnostics
- issueIds(Iterable<String>) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- issueIds(String, String...) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- iterator() - Method in class com.atlassian.diagnostics.Page
J
- jsonMapper(JsonMapper) - Method in interface com.atlassian.diagnostics.IssueBuilder
-
Sets a custom helper class to convert
alert detailsto and from JSON for alerts of this issue. - JsonMapper<T> - Interface in com.atlassian.diagnostics
-
Helper used to convert
alert detailsto and from JSON.
L
- limit(int) - Method in class com.atlassian.diagnostics.PageRequest.Builder
M
- module(String) - Method in class com.atlassian.diagnostics.AlertTrigger.Builder
- MonitorConfiguration - Interface in com.atlassian.diagnostics
- MonitoringService - Interface in com.atlassian.diagnostics
N
- nodeNames(Iterable<String>) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- nodeNames(String, String...) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
O
- of(int, int) - Static method in class com.atlassian.diagnostics.PageRequest
- ofSize(int) - Static method in class com.atlassian.diagnostics.PageRequest
- onAlert(Alert) - Method in interface com.atlassian.diagnostics.AlertListener
-
Callback methods that is invoked when an
alertis raised - onEnd(PageSummary) - Method in class com.atlassian.diagnostics.AbstractPageCallback
- onEnd(PageSummary) - Method in interface com.atlassian.diagnostics.PageCallback
-
Called after the last item has been passed to this callback (or if no item are to be passed then immediately after
PageCallback.onStart(PageRequest). - onItem(T) - Method in interface com.atlassian.diagnostics.PageCallback
-
Called exactly once for each item that matches any criteria or other qualifier of the enclosing call or process
- onStart(PageRequest) - Method in class com.atlassian.diagnostics.AbstractPageCallback
- onStart(PageRequest) - Method in interface com.atlassian.diagnostics.PageCallback
-
Called before the first item is encountered.
P
- Page<T> - Class in com.atlassian.diagnostics
-
A page of items, typically returned from a service that supports pagination of results.
- Page(PageRequest, List<T>) - Constructor for class com.atlassian.diagnostics.Page
- PageCallback<T,
R> - Interface in com.atlassian.diagnostics -
A callback for iterating through a stream of items.
- PageRequest - Class in com.atlassian.diagnostics
- PageRequest.Builder - Class in com.atlassian.diagnostics
- PageSummary - Interface in com.atlassian.diagnostics
- parseJson(String) - Method in interface com.atlassian.diagnostics.JsonMapper
-
Parses the provided JSON and returns an instance of the provided type, or
nullif parsing failed - plugin(String, String) - Method in class com.atlassian.diagnostics.AlertTrigger.Builder
- PLUGIN_NOT_DETECTED_KEY - Static variable in class com.atlassian.diagnostics.DiagnosticsConstants
- PluginDetails - Class in com.atlassian.diagnostics
- PluginDetails(String, String, String) - Constructor for class com.atlassian.diagnostics.PluginDetails
- pluginKeys(Iterable<String>) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- pluginKeys(String, String...) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- produce(Set<Thread>) - Method in interface com.atlassian.diagnostics.detail.ThreadDumpProducer
-
Produces
thread dumpsfor the supplied threads
S
- severities(Severity, Severity...) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- severities(Iterable<Severity>) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- severity(Severity) - Method in interface com.atlassian.diagnostics.IssueBuilder
- Severity - Enum Class in com.atlassian.diagnostics
- since(Instant) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
- size() - Method in class com.atlassian.diagnostics.Page
- size() - Method in interface com.atlassian.diagnostics.PageSummary
- spliterator() - Method in class com.atlassian.diagnostics.Page
- start(int) - Method in class com.atlassian.diagnostics.PageRequest.Builder
- streamAlertCounts(AlertCriteria, PageCallback<? super AlertCount, T>, PageRequest) - Method in interface com.atlassian.diagnostics.MonitoringService
- streamAlerts(AlertCriteria, PageCallback<? super Alert, T>, PageRequest) - Method in interface com.atlassian.diagnostics.MonitoringService
- streamAlertsWithElisions(AlertCriteria, PageCallback<? super AlertWithElisions, T>, PageRequest) - Method in interface com.atlassian.diagnostics.MonitoringService
- subscribe(AlertListener) - Method in interface com.atlassian.diagnostics.MonitoringService
-
Subscribes the provided
listenerto all alerts - summaryI18nKey(String) - Method in interface com.atlassian.diagnostics.IssueBuilder
T
- ThreadDump - Interface in com.atlassian.diagnostics.detail
- ThreadDumpProducer - Interface in com.atlassian.diagnostics.detail
-
Produces thread dumps with a string representations of stack traces for the supplied threads.
- timestamp(Instant) - Method in interface com.atlassian.diagnostics.AlertBuilder
- timestamp(Instant) - Method in class com.atlassian.diagnostics.AlertRequest.Builder
- toJson(T) - Method in interface com.atlassian.diagnostics.JsonMapper
-
Creates a JSON representation of the provided value
- toStackTraceString(List<StackTraceElement>) - Method in interface com.atlassian.diagnostics.detail.ThreadDumpProducer
- toString() - Method in class com.atlassian.diagnostics.PageRequest
- trigger(AlertTrigger) - Method in interface com.atlassian.diagnostics.AlertBuilder
- trigger(AlertTrigger) - Method in class com.atlassian.diagnostics.AlertRequest.Builder
U
- unsubscribe(String) - Method in interface com.atlassian.diagnostics.MonitoringService
-
Unsubscribes the
AlertListenerthat had previouslysubscribed. - until(Instant) - Method in class com.atlassian.diagnostics.AlertCriteria.Builder
V
- value - Variable in class com.atlassian.diagnostics.AbstractPageCallback
- valueOf(String) - Static method in enum class com.atlassian.diagnostics.CallbackResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.diagnostics.Severity
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.diagnostics.CallbackResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.diagnostics.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
A B C D E F G H I J L M N O P S T U V WAll Classes and Interfaces|All Packages|Constant Field Values
MonitoringService.createMonitor(String, String, MonitorConfiguration)