MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.parallel
Class ThreadPool

java.lang.Object
  extended by ch.ethz.mxquery.parallel.ThreadPool

public class ThreadPool
extends java.lang.Object


Field Summary
static int DEFAULT_THREADSIZE
           
 
Constructor Summary
ThreadPool()
           
 
Method Summary
 void execute(java.lang.Runnable thread)
           
static int getThreadCount()
           
static boolean isDebug()
           
static boolean isDynamic()
           
static void log(java.lang.Object o, java.lang.String msg)
           
static void setDebug(boolean debug)
           
static void setDynamic(boolean dynamic)
           
static void setThreadCount(int count)
           
static void setUseBindingThread(boolean use)
           
 void shutdown()
           
static boolean useBindingThread()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_THREADSIZE

public static final int DEFAULT_THREADSIZE
See Also:
Constant Field Values
Constructor Detail

ThreadPool

public ThreadPool()
Method Detail

isDebug

public static boolean isDebug()

isDynamic

public static boolean isDynamic()

useBindingThread

public static boolean useBindingThread()

setUseBindingThread

public static void setUseBindingThread(boolean use)

log

public static void log(java.lang.Object o,
                       java.lang.String msg)

setDebug

public static void setDebug(boolean debug)

setDynamic

public static void setDynamic(boolean dynamic)

setThreadCount

public static void setThreadCount(int count)

execute

public void execute(java.lang.Runnable thread)

shutdown

public void shutdown()

getThreadCount

public static int getThreadCount()

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich