Class CompactOption.Builder

java.lang.Object
io.etcd.jetcd.options.CompactOption.Builder
Enclosing class:
CompactOption

public static final class CompactOption.Builder extends Object
  • Method Details

    • withCompactPhysical

      public CompactOption.Builder withCompactPhysical(boolean physical)
      make compact RPC call wait until the compaction is physically applied to the local database such that compacted entries are totally removed from the backend database.
      Parameters:
      physical - whether the compact should wait until physically applied
      Returns:
      builder
    • build

      public CompactOption build()