Package kilim

Class ForkJoinScheduler.ForkedRunnable<V>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.Future<V>
    Enclosing class:
    ForkJoinScheduler

    final class ForkJoinScheduler.ForkedRunnable<V>
    extends java.util.concurrent.ForkJoinTask<V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Runnable task  
    • Constructor Summary

      Constructors 
      Constructor Description
      ForkedRunnable​(java.lang.Runnable task)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean exec()  
      V getRawResult()  
      protected void setRawResult​(V value)  
      • Methods inherited from class java.util.concurrent.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, pollSubmission, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • task

        java.lang.Runnable task
    • Constructor Detail

      • ForkedRunnable

        public ForkedRunnable​(java.lang.Runnable task)
    • Method Detail

      • getRawResult

        public V getRawResult()
        Specified by:
        getRawResult in class java.util.concurrent.ForkJoinTask<V>
      • setRawResult

        protected void setRawResult​(V value)
        Specified by:
        setRawResult in class java.util.concurrent.ForkJoinTask<V>
      • exec

        protected boolean exec()
        Specified by:
        exec in class java.util.concurrent.ForkJoinTask<V>