groovyx.gpars.util
Class PoolUtils

java.lang.Object
  extended by groovyx.gpars.util.PoolUtils

public final class PoolUtils
extends java.lang.Object

Provides a couple of utility methods to pools and schedulers.

Author:
Vaclav Pech Date: Oct 31, 2009

Field Summary
private static java.lang.String GPARS_POOLSIZE
           
 
Constructor Summary
private PoolUtils()
           
 
Method Summary
private static int defaultPoolSize()
           
static void checkValidPoolSize(int poolSize)
           
static int retrieveDefaultPoolSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GPARS_POOLSIZE

private static final java.lang.String GPARS_POOLSIZE
See Also:
Constant Field Values
Constructor Detail

PoolUtils

private PoolUtils()
Method Detail

retrieveDefaultPoolSize

public static int retrieveDefaultPoolSize()

defaultPoolSize

private static int defaultPoolSize()

checkValidPoolSize

public static void checkValidPoolSize(int poolSize)

Copyright © 2008–2012 Václav Pech. All Rights Reserved.