Interface ITaskScheduler

    • Method Detail

      • getThreadLifeMillis

        long getThreadLifeMillis()
      • setThreadLifeMillis

        void setThreadLifeMillis​(long threadLifeMillis)
      • getCurrentWorkerCount

        int getCurrentWorkerCount()
      • getMaxThreadSize

        int getMaxThreadSize()
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable)
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                       long delay)
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                       long delay,
                                       java.util.concurrent.TimeUnit timeUnit)
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                       long delay,
                                       long repeat)
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                       long delay,
                                       long repeat,
                                       java.util.concurrent.TimeUnit timeUnit)
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                       long delay,
                                       long repeat,
                                       long repeats)
      • schedule

        <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                       long delay,
                                       long repeat,
                                       long repeats,
                                       java.util.concurrent.TimeUnit timeUnit)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                long delay)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                long delay,
                                                java.util.concurrent.TimeUnit timeUnit)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                long delay,
                                                long repeat)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                long delay,
                                                long repeat,
                                                java.util.concurrent.TimeUnit timeUnit)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                long delay,
                                                long repeat,
                                                long repeats)
      • schedule

        IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                long delay,
                                                long repeat,
                                                long repeats,
                                                java.util.concurrent.TimeUnit timeUnit)
      • shutdown

        void shutdown()