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
FieldsModifier and TypeFieldDescriptionprotected final RouterTimeoutProcessorprotected static final org.apache.logging.log4j.Loggerprotected static final Runnable -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedScatterGatherRequestHandler(TimeoutProcessor timeoutProcessor) protectedScatterGatherRequestHandler(RouterTimeoutProcessor timeoutProcessor) -
Method Summary
Modifier and TypeMethodDescriptionabstract ScatterGatherHelper<H,P, K, R, ?, ?, ?> protected abstract booleanisTooLongFrameException(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
-