public interface SynchronyMonitor
Modifier and Type | Method and Description |
---|---|
void |
cancelHeartbeat()
Cancels polling the Synchrony heartbeat rest endpoint if a poll is currently in progress,
useful when Synchrony is shutdown before it is able to resolve a successful heartbeat result.
|
boolean |
isSynchronyUp()
Determines if the Synchrony that Confluence uses to connect to is currently running or not.
|
io.atlassian.util.concurrent.Promise<Boolean> |
pollHeartbeat()
Ping the Synchrony heartbeat rest endpoint, until the result is a 200 OK or a timeout is reached.
|
boolean isSynchronyUp()
io.atlassian.util.concurrent.Promise<Boolean> pollHeartbeat()
void cancelHeartbeat()
Copyright © 2003–2020 Atlassian. All rights reserved.