Package akka.dispatch

Class 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>
    INTERNAL AKKA USAGE ONLY
    See Also:
    Serialized Form
    • Constructor Detail

      • AkkaForkJoinTask

        public AkkaForkJoinTask​(java.lang.Runnable runnable)
    • Method Detail

      • exec

        public final boolean exec()
        Description copied from class: ForkJoinTask
        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. 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:
        exec in class ForkJoinTask<scala.runtime.BoxedUnit>
        Returns:
        true if this task is known to have completed normally
      • getRawResult

        public void getRawResult()
      • setRawResult

        public void setRawResult​(scala.runtime.BoxedUnit unit)
        Description copied from class: ForkJoinTask
        Forces 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:
        setRawResult in class ForkJoinTask<scala.runtime.BoxedUnit>
        Parameters:
        unit - the value