@Service(name="payara-executor-service") public class PayaraExecutorService extends Object implements ConfigListener, EventListener
EventListener.Event<T>| Constructor and Description |
|---|
PayaraExecutorService() |
@PostConstruct public void postConstruct()
public void event(EventListener.Event event)
EventListenerevent in interface EventListenerevent - public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
public ExecutorService getUnderlyingExecutorService()
public ScheduledExecutorService getUnderlyingScheduledExecutorService()
public int getExecutorThreadPoolSize()
public int getScheduledExecutorThreadPoolSize()
public UnprocessedChangeEvents changed(PropertyChangeEvent[] propertyChangeEvents)
ConfigListenerchanged in interface ConfigListenerpropertyChangeEvents - list of changespublic boolean isACC()
Copyright © 2019. All rights reserved.