class ThreadPooledCSOExecutor extends CSOExecutor
A form of CSOExecutor
that can retire unused pooled threads. If report
is true, then
a brief report to be made to the console when the pool shuts down (usually when the CSO program finishes).
The report details the current and the largest size of the pool, the number of processes executed.
- Alphabetic
- By Inheritance
- ThreadPooledCSOExecutor
- CSOExecutor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ThreadPooledCSOExecutor(report: Boolean, pool: ThreadPoolExecutor, stackSize: Long = 0)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(runnable: Runnable, stackSize: Long): Unit
Acquire a thread and run the given
Runnable
in it, expressng a preference for a stack of the specifiedstackSize
(or the default size ifstackSize==0
)Acquire a thread and run the given
Runnable
in it, expressng a preference for a stack of the specifiedstackSize
(or the default size ifstackSize==0
)- Definition Classes
- ThreadPooledCSOExecutor → CSOExecutor
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
shutdown(): Unit
Take any measures needed to close down the service
Take any measures needed to close down the service
- Definition Classes
- ThreadPooledCSOExecutor → CSOExecutor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )