Class ConcurrentSplitterFlowElementInvoker.SplitFlowCallback
- java.lang.Object
-
- org.ikasan.flow.visitorPattern.invoker.ConcurrentSplitterFlowElementInvoker.SplitFlowCallback
-
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<ConcurrentSplitterFlowElementInvoker.SplitFlowElement>
- Enclosing class:
- ConcurrentSplitterFlowElementInvoker
protected class ConcurrentSplitterFlowElementInvoker.SplitFlowCallback extends java.lang.Object implements com.google.common.util.concurrent.FutureCallback<ConcurrentSplitterFlowElementInvoker.SplitFlowElement>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.atomic.AtomicIntegercountprotected org.ikasan.spec.flow.FlowInvocationContextflowInvocationContextprotected java.util.List<java.lang.Object>subFlowPayloads
-
Constructor Summary
Constructors Modifier Constructor Description protectedSplitFlowCallback(java.util.List<java.lang.Object> subFlowPayloads, org.ikasan.spec.flow.FlowInvocationContext flowInvocationContext, java.util.concurrent.atomic.AtomicInteger count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonFailure(java.lang.Throwable thrown)voidonSuccess(ConcurrentSplitterFlowElementInvoker.SplitFlowElement splitFlowElement)
-
-
-
Method Detail
-
onSuccess
public void onSuccess(ConcurrentSplitterFlowElementInvoker.SplitFlowElement splitFlowElement)
- Specified by:
onSuccessin interfacecom.google.common.util.concurrent.FutureCallback<ConcurrentSplitterFlowElementInvoker.SplitFlowElement>
-
onFailure
public void onFailure(java.lang.Throwable thrown)
- Specified by:
onFailurein interfacecom.google.common.util.concurrent.FutureCallback<ConcurrentSplitterFlowElementInvoker.SplitFlowElement>
-
-