Class PersistedLogWriter


  • @Internal
    public class PersistedLogWriter
    extends java.lang.Object
    Implements a persisted log for [LOG-PERSIST].
    Since:
    1.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      PersistedLogWriter​(com.couchbase.client.java.Collection collection, int maxEntries)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean compactionRequired()  
      reactor.core.publisher.Mono<java.lang.Void> write​(java.lang.String clientUuid, java.lang.String v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PERSISTED_LOG_DOC_ID

        public static final java.lang.String PERSISTED_LOG_DOC_ID
        See Also:
        Constant Field Values
      • MAX_LOG_ENTRIES_DEFAULT

        public static final int MAX_LOG_ENTRIES_DEFAULT
        See Also:
        Constant Field Values
    • Constructor Detail

      • PersistedLogWriter

        public PersistedLogWriter​(com.couchbase.client.java.Collection collection,
                                  int maxEntries)
    • Method Detail

      • write

        public reactor.core.publisher.Mono<java.lang.Void> write​(java.lang.String clientUuid,
                                                                 java.lang.String v)
      • compactionRequired

        public boolean compactionRequired()