Uses of Class
pl.morgwai.base.servlet.guice.scopes.ServletContextTrackingExecutor
-
Packages that use ServletContextTrackingExecutor Package Description pl.morgwai.base.servlet.guice.scopes The main package for servlet and websocket scopes. -
-
Uses of ServletContextTrackingExecutor in pl.morgwai.base.servlet.guice.scopes
Methods in pl.morgwai.base.servlet.guice.scopes that return ServletContextTrackingExecutor Modifier and Type Method Description ServletContextTrackingExecutor
ServletModule. newContextTrackingExecutor(String name, int poolSize)
Constructs a fixed size, context tracking executor that uses an unboundLinkedBlockingQueue
and a newNamingThreadFactory
named after this executor.ServletContextTrackingExecutor
ServletModule. newContextTrackingExecutor(String name, int poolSize, int queueSize)
Constructs a fixed size, context tracking executor that uses aLinkedBlockingQueue
of sizequeueSize
, the defaultRejectedExecutionHandler
and a newNamingThreadFactory
named after this executor.ServletContextTrackingExecutor
ServletModule. newContextTrackingExecutor(String name, int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory)
Constructs a context tracking executor.ServletContextTrackingExecutor
ServletModule. newContextTrackingExecutor(String name, int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler)
Constructs a context tracking executor.Methods in pl.morgwai.base.servlet.guice.scopes that return types with arguments of type ServletContextTrackingExecutor Modifier and Type Method Description List<ServletContextTrackingExecutor>
ServletModule. awaitTerminationOfAllExecutors(long timeout, TimeUnit unit)
Awaits for termination
of all executors obtained from this module.List<ServletContextTrackingExecutor>
ServletModule. enforceTerminationOfAllExecutors(long timeout, TimeUnit unit)
Enforces termination
of all executors obtained from this module.List<ServletContextTrackingExecutor>
ServletModule. getExecutors()
List of allExecutors
created by thisModule
.Method parameters in pl.morgwai.base.servlet.guice.scopes with type arguments of type ServletContextTrackingExecutor Modifier and Type Method Description protected void
GuiceServletContextListener. handleUnterminatedExecutors(List<ServletContextTrackingExecutor> unterminatedExecutors)
Handles executors that failed to terminate inGuiceServletContextListener.contextDestroyed(ServletContextEvent)
.
-