Class ScheduledExecutorScheduler

    • Constructor Detail

      • ScheduledExecutorScheduler

        public ScheduledExecutorScheduler()
        Deprecated.
      • ScheduledExecutorScheduler

        public ScheduledExecutorScheduler​(String name,
                                          boolean daemon)
        Deprecated.
      • ScheduledExecutorScheduler

        public ScheduledExecutorScheduler​(@Name("name")
                                          String name,
                                          @Name("daemon")
                                          boolean daemon,
                                          @Name("threads")
                                          int threads)
        Deprecated.
      • ScheduledExecutorScheduler

        public ScheduledExecutorScheduler​(String name,
                                          boolean daemon,
                                          ClassLoader classLoader)
        Deprecated.
      • ScheduledExecutorScheduler

        public ScheduledExecutorScheduler​(String name,
                                          boolean daemon,
                                          ClassLoader classLoader,
                                          ThreadGroup threadGroup)
        Deprecated.
      • ScheduledExecutorScheduler

        public ScheduledExecutorScheduler​(@Name("name")
                                          String name,
                                          @Name("daemon")
                                          boolean daemon,
                                          @Name("classLoader")
                                          ClassLoader classLoader,
                                          @Name("threadGroup")
                                          ThreadGroup threadGroup,
                                          @Name("threads")
                                          int threads)
        Deprecated.
        Parameters:
        name - The name of the scheduler threads or null for automatic name
        daemon - True if scheduler threads should be daemon
        classLoader - The classloader to run the threads with or null to use the current thread context classloader
        threadGroup - The threadgroup to use or null for no thread group
        threads - The number of threads to pass to the the core ScheduledThreadPoolExecutor or -1 for a heuristic determined number of threads.
    • Method Detail

      • dump

        public void dump​(Appendable out,
                         String indent)
                  throws IOException
        Deprecated.
        Description copied from interface: Dumpable
        Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
        Specified by:
        dump in interface Dumpable
        Parameters:
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws:
        IOException - if unable to write to Appendable
      • isDaemon

        @ManagedAttribute("Whether the scheduler uses daemon threads")
        public boolean isDaemon()
        Deprecated.
      • getThreads

        @ManagedAttribute("The number of scheduler threads")
        public int getThreads()
        Deprecated.