Package com.linkedin.alpini.router
Class ScatterGatherRequestHandler<H,P extends ResourcePath<K>,K,R>
java.lang.Object
com.linkedin.alpini.router.ScatterGatherRequestHandler<H,P,K,R>
- Direct Known Subclasses:
ScatterGatherRequestHandlerImpl
-
Field Summary
Modifier and TypeFieldDescriptionprotected final RouterTimeoutProcessor
protected static final org.apache.logging.log4j.Logger
protected static final Runnable
-
Constructor Summary
ModifierConstructorDescriptionprotected
ScatterGatherRequestHandler
(TimeoutProcessor timeoutProcessor) protected
ScatterGatherRequestHandler
(RouterTimeoutProcessor timeoutProcessor) -
Method Summary
Modifier and TypeMethodDescriptionabstract ScatterGatherHelper<H,
P, K, R, ?, ?, ?> protected abstract boolean
isTooLongFrameException
(Throwable cause) static <H,
P extends ResourcePath<K>, K, R>
ScatterGatherRequestHandler<H,P, K, R> make
(ScatterGatherHelper<H, P, K, R, ?, ?, ?> scatterGatherHelper, TimeoutProcessor timeoutProcessor, Executor executor) static <H,
P extends ResourcePath<K>, K, R>
ScatterGatherRequestHandler<H,P, K, R> make
(ScatterGatherHelper<H, P, K, R, ?, ?, ?> scatterGatherHelper, RouterTimeoutProcessor timeoutProcessor, Executor executor)
-
Field Details
-
LOG
protected static final org.apache.logging.log4j.Logger LOG -
NOP
-
_timeoutProcessor
-
-
Constructor Details
-
ScatterGatherRequestHandler
-
ScatterGatherRequestHandler
-
-
Method Details
-
make
public static <H,P extends ResourcePath<K>, ScatterGatherRequestHandler<H,K, R> P, makeK, R> (@Nonnull ScatterGatherHelper<H, P, K, R, ?, ?, ?> scatterGatherHelper, @Nonnull TimeoutProcessor timeoutProcessor, @Nonnull Executor executor) -
make
public static <H,P extends ResourcePath<K>, ScatterGatherRequestHandler<H,K, R> P, makeK, R> (@Nonnull ScatterGatherHelper<H, P, K, R, ?, ?, ?> scatterGatherHelper, @Nonnull RouterTimeoutProcessor timeoutProcessor, @Nonnull Executor executor) -
getScatterGatherHelper
-
isTooLongFrameException
-