Examples of ThreadFactoryImpl


Examples of org.sonatype.scheduling.ThreadFactoryImpl

{
  private final NexusScheduledExecutorService shiroFixedSubjectScheduledExecutorService;

  public NexusTaskExecutorServiceProvider() {
    final ScheduledThreadPoolExecutor target =
        (ScheduledThreadPoolExecutor) Executors.newScheduledThreadPool(20, new ThreadFactoryImpl(
            Thread.MIN_PRIORITY));
    target.setExecuteExistingDelayedTasksAfterShutdownPolicy(false);
    target.setContinueExistingPeriodicTasksAfterShutdownPolicy(false);
    shiroFixedSubjectScheduledExecutorService =
        NexusScheduledExecutorService.forFixedSubject(target, FakeAlmightySubject.TASK_SUBJECT);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.