Class SVNThreadPool
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.util.SVNThreadPool
-
- All Implemented Interfaces:
ISVNThreadPool
public class SVNThreadPool extends java.lang.Object implements ISVNThreadPool
- Version:
- 1.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classSVNThreadPool.CustomThreadFactory
-
Field Summary
Fields Modifier and Type Field Description private ISVNThreadPoolmyFailSafePoolprivate SVNThreadPool.CustomThreadFactorymyThreadFactoryprivate java.util.concurrent.ThreadPoolExecutormyThreadPool
-
Constructor Summary
Constructors Constructor Description SVNThreadPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ISVNThreadPoolgetFailSafePool()private SVNThreadPool.CustomThreadFactorygetThreadFactory(boolean daemon)private java.util.concurrent.ThreadPoolExecutorgetThreadPool(boolean daemon)ISVNTaskrun(java.lang.Runnable task, boolean daemon)
-
-
-
Field Detail
-
myThreadPool
private java.util.concurrent.ThreadPoolExecutor myThreadPool
-
myThreadFactory
private SVNThreadPool.CustomThreadFactory myThreadFactory
-
myFailSafePool
private ISVNThreadPool myFailSafePool
-
-
Method Detail
-
run
public ISVNTask run(java.lang.Runnable task, boolean daemon)
- Specified by:
runin interfaceISVNThreadPool
-
getFailSafePool
private ISVNThreadPool getFailSafePool()
-
getThreadPool
private java.util.concurrent.ThreadPoolExecutor getThreadPool(boolean daemon)
-
getThreadFactory
private SVNThreadPool.CustomThreadFactory getThreadFactory(boolean daemon)
-
-