class
ThreadPool extends AnyRef
Instance Constructors
-
new
ThreadPool(poolSize: Int)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getPoolSize: Int
-
def
hashCode(): Int
-
def
invoke[T](task: () ⇒ T): Future[T]
-
def
invoke[T](tasks: Seq[() ⇒ T]): Seq[Future[T]]
-
def
invoke2[T](tasks: Seq[() ⇒ T]): Seq[Future[T]]
-
def
invokeAndWait[T](tasks: Seq[() ⇒ T], timeout: Duration = Duration.Inf): Seq[T]
-
def
invokeAndWait2[T](tasks: Seq[() ⇒ T], timeout: Long = Long.MaxValue, timeUnit: TimeUnit = TimeUnit.NANOSECONDS): Buffer[Future[T]]
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
setMKLThread(size: Int): ThreadPool.this.type
-
def
setPoolSize(size: Int): ThreadPool.this.type
-
def
sync(futures: Seq[Future[_]], timeout: Duration = Duration.Inf): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
A thread pool wrapper, provide some helper functions for multi-threading