Class ExplicitLacFlushPolicy.ExplicitLacFlushPolicyImpl

java.lang.Object
org.apache.bookkeeper.client.ExplicitLacFlushPolicy.ExplicitLacFlushPolicyImpl
All Implemented Interfaces:
ExplicitLacFlushPolicy
Enclosing interface:
ExplicitLacFlushPolicy

public static class ExplicitLacFlushPolicy.ExplicitLacFlushPolicyImpl extends Object implements ExplicitLacFlushPolicy
  • Field Details

    • LOG

      static final org.slf4j.Logger LOG
    • piggyBackedLac

      volatile long piggyBackedLac
    • explicitLac

      volatile long explicitLac
    • lh

      final LedgerHandle lh
    • clientCtx

      final ClientContext clientCtx
    • scheduledFuture

      ScheduledFuture<?> scheduledFuture
  • Constructor Details

  • Method Details

    • setPiggyBackedLac

      public void setPiggyBackedLac(long piggyBackedLac)
    • asyncExplicitLacFlush

      void asyncExplicitLacFlush(long explicitLac)
      Make a LastAddUpdate request.
    • stopExplicitLacFlush

      public void stopExplicitLacFlush()
      Specified by:
      stopExplicitLacFlush in interface ExplicitLacFlushPolicy
    • updatePiggyBackedLac

      public void updatePiggyBackedLac(long piggyBackedLac)
      Specified by:
      updatePiggyBackedLac in interface ExplicitLacFlushPolicy