com.sun.xml.ws.commons
Class DelayedTaskManager

java.lang.Object
  extended by com.sun.xml.ws.commons.AbstractTaskManager
      extended by com.sun.xml.ws.commons.DelayedTaskManager

public final class DelayedTaskManager
extends AbstractTaskManager

Author:
Marek Potociar

Nested Class Summary
static interface DelayedTaskManager.DelayedTask
           
 
Method Summary
static DelayedTaskManager createManager(String name, int coreThreadPoolSize, Component component)
           
protected  ThreadFactory createThreadFactory()
           
protected  Component getComponent()
           
protected  Logger getLogger()
           
protected  String getThreadPoolName()
           
protected  int getThreadPoolSize()
           
 boolean register(DelayedTaskManager.DelayedTask task, long delay, TimeUnit timeUnit)
           
 
Methods inherited from class com.sun.xml.ws.commons.AbstractTaskManager
close, close, getExecutorService, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createManager

public static DelayedTaskManager createManager(String name,
                                               int coreThreadPoolSize,
                                               Component component)

register

public boolean register(@NotNull
                        DelayedTaskManager.DelayedTask task,
                        long delay,
                        TimeUnit timeUnit)

getComponent

protected Component getComponent()
Specified by:
getComponent in class AbstractTaskManager

getThreadPoolName

protected String getThreadPoolName()
Specified by:
getThreadPoolName in class AbstractTaskManager

createThreadFactory

protected ThreadFactory createThreadFactory()
Specified by:
createThreadFactory in class AbstractTaskManager

getThreadPoolSize

protected int getThreadPoolSize()
Specified by:
getThreadPoolSize in class AbstractTaskManager

getLogger

protected Logger getLogger()
Specified by:
getLogger in class AbstractTaskManager


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.