|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.GParsConfig
public final class GParsConfig
Enables to specify custom thread pools and timers to run GPars in hosted environments, such as GAE
Field Summary | |
---|---|
private static PoolFactory |
poolFactory
|
private static boolean |
poolFactoryFlag
|
private static TimerFactory |
timerFactory
|
private static boolean |
timerFactoryFlag
|
private static java.util.Collection |
timers
|
Constructor Summary | |
GParsConfig()
|
Method Summary | |
---|---|
static PoolFactory
|
getPoolFactory()
|
static TimerFactory
|
getTimerFactory()
|
static Pool
|
retrieveDefaultPool()
|
static GeneralTimer
|
retrieveDefaultTimer(java.lang.String name, boolean daemon)
|
static void
|
setPoolFactory(PoolFactory pool)
|
static void
|
setTimerFactory(TimerFactory timerFactory)
|
static void
|
shutdown()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
private static PoolFactory poolFactory
private static boolean poolFactoryFlag
private static TimerFactory timerFactory
private static boolean timerFactoryFlag
private static final java.util.Collection timers
Constructor Detail |
---|
GParsConfig()
Method Detail |
---|
public static PoolFactory getPoolFactory()
public static TimerFactory getTimerFactory()
public static Pool retrieveDefaultPool()
public static GeneralTimer retrieveDefaultTimer(java.lang.String name, boolean daemon)
public static void setPoolFactory(PoolFactory pool)
public static void setTimerFactory(TimerFactory timerFactory)
public static void shutdown()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.