Package org.apache.camel.util.concurrent
Class SubmitOrderedCompletionService<V>
java.lang.Object
org.apache.camel.util.concurrent.SubmitOrderedCompletionService<V>
- All Implemented Interfaces:
CompletionService<V>
@Deprecated
public class SubmitOrderedCompletionService<V>
extends Object
implements CompletionService<V>
Deprecated.
A
CompletionService
that orders the completed tasks in the same order as they where
submitted.-
Constructor Details
-
SubmitOrderedCompletionService
Deprecated.
-
-
Method Details
-
submit
Deprecated.- Specified by:
submit
in interfaceCompletionService<V>
-
submit
Deprecated.- Specified by:
submit
in interfaceCompletionService<V>
-
take
Deprecated.- Specified by:
take
in interfaceCompletionService<V>
- Throws:
InterruptedException
-
poll
Deprecated.- Specified by:
poll
in interfaceCompletionService<V>
-
poll
Deprecated.- Specified by:
poll
in interfaceCompletionService<V>
- Throws:
InterruptedException
-
timeoutTask
Deprecated.Marks the current task as timeout, which allows you to poll the next tasks which may already have been completed.
-
AsyncCompletionService