Class EventBusPersistedLogger

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.function.Consumer<com.couchbase.client.core.cnc.Event>

    public class EventBusPersistedLogger
    extends java.lang.Object
    implements java.util.function.Consumer<com.couchbase.client.core.cnc.Event>, java.lang.Runnable
    Listens for events on the Couchbase event bus and logs some to the transactions persisted log.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(com.couchbase.client.core.cnc.Event event)  
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

    • Method Detail

      • accept

        public void accept​(com.couchbase.client.core.cnc.Event event)
        Specified by:
        accept in interface java.util.function.Consumer<com.couchbase.client.core.cnc.Event>
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable