public class BatchingSupport extends Object implements com.linkedin.parseq.internal.PlanDeactivationListener
BatchingStrategy.
Please note that BatchingSupport must be registered with an EngineBuilder e.g.
BatchingSupport batchingSupport = new BatchingSupport(); engineBuilder.setPlanDeactivationListener(batchingSupport); (...) batchingSupport.registerStrategy(batchingStrategy);
| Constructor and Description |
|---|
BatchingSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPlanDeactivated(com.linkedin.parseq.internal.PlanContext planContext) |
void |
registerStrategy(BatchingStrategy<?,?,?> strategy)
Register an instance of
BatchingStrategy. |
public void registerStrategy(BatchingStrategy<?,?,?> strategy)
BatchingStrategy.strategy - strategy to be registeredpublic void onPlanDeactivated(com.linkedin.parseq.internal.PlanContext planContext)
onPlanDeactivated in interface com.linkedin.parseq.internal.PlanDeactivationListenerCopyright © 2018. All rights reserved.