Class Bouncer

java.lang.Object
org.apache.druid.frame.processor.Bouncer

public class Bouncer extends Object
  • Constructor Details

    • Bouncer

      public Bouncer(int maxCount)
      Create a Bouncer that issues a limited number of tickets.
    • Bouncer

      public Bouncer(int maxCount, @Nullable Bouncer parentBouncer)
      Create a Bouncer that issues a limited number of tickets from a parent.
  • Method Details

    • unlimited

      public static Bouncer unlimited()
    • getMaxCount

      public int getMaxCount()
    • ticket

      public com.google.common.util.concurrent.ListenableFuture<Bouncer.Ticket> ticket()