Class ClientEventHandler
java.lang.Object
org.kiwiproject.consul.monitoring.ClientEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcachePollingError(CacheDescriptor cacheDescriptor, Throwable throwable) voidcachePollingSuccess(CacheDescriptor cacheDescriptor, boolean withNotification, long duration) voidcachePollingSuccess(CacheDescriptor cacheDescriptor, boolean withNotification, Duration duration) voidcacheStart(CacheDescriptor cacheDescriptor) voidcacheStop(CacheDescriptor cacheDescriptor) voidhttpRequestFailure(okhttp3.Request request, Throwable throwable) voidhttpRequestInvalid(okhttp3.Request request, Throwable throwable) voidhttpRequestSuccess(okhttp3.Request request) voidstop()
-
Constructor Details
-
ClientEventHandler
-
-
Method Details
-
httpRequestSuccess
public void httpRequestSuccess(okhttp3.Request request) -
httpRequestInvalid
-
httpRequestFailure
-
cacheStart
-
cacheStop
-
cachePollingError
-
cachePollingSuccess
public void cachePollingSuccess(CacheDescriptor cacheDescriptor, boolean withNotification, Duration duration) -
cachePollingSuccess
public void cachePollingSuccess(CacheDescriptor cacheDescriptor, boolean withNotification, long duration) -
stop
public void stop()
-