public class Bouncer extends Object
FrameProcessorExecutor.runAllFully(org.apache.druid.java.util.common.guava.Sequence<? extends org.apache.druid.frame.processor.FrameProcessor<T>>, ResultType, java.util.function.BiFunction<ResultType, T, ResultType>, int, org.apache.druid.frame.processor.Bouncer, java.lang.String)
to limit the number of outstanding processors.Modifier and Type | Class and Description |
---|---|
class |
Bouncer.Ticket |
Constructor and Description |
---|
Bouncer(int maxCount) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxCount() |
com.google.common.util.concurrent.ListenableFuture<Bouncer.Ticket> |
ticket() |
static Bouncer |
unlimited() |
public static Bouncer unlimited()
public int getMaxCount()
public com.google.common.util.concurrent.ListenableFuture<Bouncer.Ticket> ticket()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.