Package akka.dispatch
Class ForkJoinExecutorConfigurator.AkkaForkJoinTask
- java.lang.Object
-
- akka.dispatch.forkjoin.ForkJoinTask<scala.runtime.BoxedUnit>
-
- akka.dispatch.ForkJoinExecutorConfigurator.AkkaForkJoinTask
-
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.Future<scala.runtime.BoxedUnit>
- Enclosing class:
- ForkJoinExecutorConfigurator
public static final class ForkJoinExecutorConfigurator.AkkaForkJoinTask extends ForkJoinTask<scala.runtime.BoxedUnit>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AkkaForkJoinTask(java.lang.Runnable runnable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexec()Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed normally.voidgetRawResult()voidsetRawResult(scala.runtime.BoxedUnit unit)Forces the given value to be returned as a result.-
Methods inherited from class akka.dispatch.forkjoin.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
-
-
-
-
Method Detail
-
exec
public final boolean exec()
Description copied from class:ForkJoinTaskImmediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed normally. This method may return false otherwise, to indicate that this task is not necessarily complete (or is not known to be complete), for example in asynchronous actions that require explicit invocations of completion methods. This method may also throw an (unchecked) exception to indicate abnormal exit. This method is designed to support extensions, and should not in general be called otherwise.- Specified by:
execin classForkJoinTask<scala.runtime.BoxedUnit>- Returns:
trueif this task is known to have completed normally
-
getRawResult
public void getRawResult()
-
setRawResult
public void setRawResult(scala.runtime.BoxedUnit unit)
Description copied from class:ForkJoinTaskForces the given value to be returned as a result. This method is designed to support extensions, and should not in general be called otherwise.- Specified by:
setRawResultin classForkJoinTask<scala.runtime.BoxedUnit>- Parameters:
unit- the value
-
-