X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Flocal%2FLocalExecutorService.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fengine%2Flocal%2FLocalExecutorService.html;h=0000000000000000000000000000000000000000;hb=0bbebf27d045b1345bc042bdf24ef2e6808df251;hp=d65318e37fe221280e29960b69f2a7d8482602ac;hpb=5be600c3985aa7bcb8d8b51d77d773c76e6802bb;p=jabaws.git diff --git a/website/full_javadoc/compbio/engine/local/LocalExecutorService.html b/website/full_javadoc/compbio/engine/local/LocalExecutorService.html deleted file mode 100644 index d65318e..0000000 --- a/website/full_javadoc/compbio/engine/local/LocalExecutorService.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - - -LocalExecutorService - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -compbio.engine.local -
-Class LocalExecutorService

-
-java.lang.Object
-  extended by java.util.concurrent.AbstractExecutorService
-      extended by java.util.concurrent.ThreadPoolExecutor
-          extended by compbio.engine.local.LocalExecutorService
-
-
-
All Implemented Interfaces:
Executor, ExecutorService
-
-
-
-
public final class LocalExecutorService
extends ThreadPoolExecutor
- - -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
-  - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancanAcceptMoreWork() - -
-          If the Executor queue is empty
-static LocalExecutorServicegetExecutor() - -
-          This method returns the single instance of CachedThreadPoolExecutor which - it cashes internally
-static voidshutDown() - -
-          This stops all executing processes via interruption.
- - - - - - - -
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, execute, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow
- - - - - - - -
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getExecutor

-
-public static LocalExecutorService getExecutor()
-
-
This method returns the single instance of CachedThreadPoolExecutor which - it cashes internally -

-

- -
Returns:
the instance
-
-
-
- -

-shutDown

-
-public static void shutDown()
-
-
This stops all executing processes via interruption. Thus it is vital - that all processes that use this service respond to interruption - - Stops internal executor service which captures streams of native - executables. This method is intended for stopping service if deployed in - the web application context. There is NO NEED of using this method - otherwise as the executor service is taken care of internally. -

-

-
-
-
-
- -

-canAcceptMoreWork

-
-public boolean canAcceptMoreWork()
-
-
If the Executor queue is empty -

-

- -
Returns:
true is not all threads are busy, false otherwise
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - -