Class DefaultTaskScheduler

    • Field Detail

      • DEFAULT_THREAD_LIFE_MILLIS

        protected static final long DEFAULT_THREAD_LIFE_MILLIS
        Deprecated.
        See Also:
        Constant Field Values
      • DEFAULT_THREAD_PAUSE_MILLIS

        protected static final long DEFAULT_THREAD_PAUSE_MILLIS
        Deprecated.
        See Also:
        Constant Field Values
      • GROUP_COUNT

        protected static final java.util.concurrent.atomic.AtomicInteger GROUP_COUNT
        Deprecated.
      • workers

        protected final java.util.Queue<IWorkableThread> workers
        Deprecated.
      • taskEntries

        protected final java.util.Deque<IScheduledTask<?>> taskEntries
        Deprecated.
      • threadCount

        protected final java.util.concurrent.atomic.AtomicLong threadCount
        Deprecated.
      • threadGroup

        protected final java.lang.ThreadGroup threadGroup
        Deprecated.
      • maxThreadSize

        protected volatile int maxThreadSize
        Deprecated.
      • threadLifeMillis

        protected volatile long threadLifeMillis
        Deprecated.
      • threadPauseDelayMillis

        protected volatile long threadPauseDelayMillis
        Deprecated.
    • Constructor Detail

      • DefaultTaskScheduler

        public DefaultTaskScheduler()
        Deprecated.
      • DefaultTaskScheduler

        public DefaultTaskScheduler​(int maxThreadSize)
        Deprecated.
      • DefaultTaskScheduler

        public DefaultTaskScheduler​(int maxThreadSize,
                                    long threadLifeMillis,
                                    long threadPauseDelayMillis)
        Deprecated.
    • Method Detail

      • getDefaultThreadLifeMillis

        public static long getDefaultThreadLifeMillis()
        Deprecated.
      • getDefaultThreadPauseMillis

        public static long getDefaultThreadPauseMillis()
        Deprecated.
      • getGroupCount

        public static java.util.concurrent.atomic.AtomicInteger getGroupCount()
        Deprecated.
      • getTaskEntries

        public java.util.Deque<IScheduledTask<?>> getTaskEntries()
        Deprecated.
      • getThreadGroup

        public java.lang.ThreadGroup getThreadGroup()
        Deprecated.
      • getThreadCount

        public java.util.concurrent.atomic.AtomicLong getThreadCount()
        Deprecated.
      • setMaxThreadSize

        public void setMaxThreadSize​(int maxThreadSize)
        Deprecated.
      • getThreadPauseDelayMillis

        public long getThreadPauseDelayMillis()
        Deprecated.
      • setThreadPauseDelayMillis

        public void setThreadPauseDelayMillis​(long threadPauseDelayMillis)
        Deprecated.
      • schedule

        public <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                              long delay,
                                              java.util.concurrent.TimeUnit timeUnit)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                              long delay,
                                              long repeat)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                              long delay,
                                              long repeat,
                                              java.util.concurrent.TimeUnit timeUnit)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                              long delay,
                                              long repeat,
                                              long repeats)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public <V> IScheduledTask<V> schedule​(java.util.concurrent.Callable<V> callable,
                                              long delay,
                                              long repeat,
                                              long repeats,
                                              java.util.concurrent.TimeUnit timeUnit)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                       long delay,
                                                       java.util.concurrent.TimeUnit timeUnit)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                       long delay,
                                                       long repeat)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                       long delay,
                                                       long repeat,
                                                       java.util.concurrent.TimeUnit timeUnit)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                       long delay,
                                                       long repeat,
                                                       long repeats)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • schedule

        public IScheduledTask<java.lang.Void> schedule​(java.lang.Runnable runnable,
                                                       long delay,
                                                       long repeat,
                                                       long repeats,
                                                       java.util.concurrent.TimeUnit timeUnit)
        Deprecated.
        Specified by:
        schedule in interface ITaskScheduler
      • execute

        public void execute​(@NotNull
                            @NotNull java.lang.Runnable command)
        Deprecated.
        Specified by:
        execute in interface java.util.concurrent.Executor