Interface SynchronyProxyMonitor
-
- All Known Implementing Classes:
DefaultSynchronyProxyMonitor
public interface SynchronyProxyMonitorMonitor the running state of the internal Synchrony Proxy- Since:
- 6.0.2
-
-
Field Summary
Fields Modifier and Type Field Description static StringSYNCHRONY_PROXY_CONTEXT_PATHstatic StringSYNCHRONY_PROXY_HEALTHCHECK_DISABLED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSynchronyProxyUp()Determines if the Synchrony Proxy is currently running or not.voidstartHealthcheck()Ping the Synchrony Proxy healthcheck rest endpoint.
-
-
-
Field Detail
-
SYNCHRONY_PROXY_CONTEXT_PATH
static final String SYNCHRONY_PROXY_CONTEXT_PATH
- See Also:
- Constant Field Values
-
SYNCHRONY_PROXY_HEALTHCHECK_DISABLED
static final String SYNCHRONY_PROXY_HEALTHCHECK_DISABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSynchronyProxyUp
boolean isSynchronyProxyUp()
Determines if the Synchrony Proxy is currently running or not.- Returns:
- true if the Synchrony Proxy is running and responding to requests.
-
startHealthcheck
void startHealthcheck()
Ping the Synchrony Proxy healthcheck rest endpoint. Reschedule another ping in SYNCHRONY_PROXY_HEALTHCHECK_INTERVAL seconds.
-
-