Package com.couchbase.client.dcp
Interface SystemEventHandler
- All Known Implementing Classes:
EventHandlerAdapter
public interface SystemEventHandler
This interface acts as a callback on the
Client.systemEventHandler(SystemEventHandler)
API
that allows one to react to system events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEvent
(CouchbaseEvent event) Called every time when a system event happens that should be handled by consumers of theClient
.
-
Method Details
-
onEvent
Called every time when a system event happens that should be handled by consumers of theClient
.- Parameters:
event
- the system event happening.
-