org.codehaus.gpars

groovyx.gpars.util
[Java] Class PoolUtils

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

@SuppressWarnings({"AccessOfSystemProperties", "UtilityClass"})
public final class PoolUtils
extends java.lang.Object

Provides a couple of utility methods to pools and schedulers.

Authors:
Vaclav Pech Date: Oct 31, 2009


Field Summary
private static java.lang.String GPARS_POOLSIZE

 
Constructor Summary
private PoolUtils()

 
Method Summary
static void checkValidPoolSize(int poolSize)

static int retrieveDefaultPoolSize()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), 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

GPARS_POOLSIZE

private static final java.lang.String GPARS_POOLSIZE


 
Constructor Detail

PoolUtils

private PoolUtils()


 
Method Detail

checkValidPoolSize

public static void checkValidPoolSize(int poolSize)


retrieveDefaultPoolSize

public static int retrieveDefaultPoolSize()


 

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