org.codehaus.gpars

groovyx.gpars.util
[Java] Class PoolUtils

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

@java.lang.SuppressWarnings}
public final class PoolUtils

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)

private static int defaultPoolSize()

static int retrieveDefaultPoolSize()

 
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

GPARS_POOLSIZE

private static final java.lang.String GPARS_POOLSIZE


 
Constructor Detail

PoolUtils

private PoolUtils()


 
Method Detail

checkValidPoolSize

public static void checkValidPoolSize(int poolSize)


defaultPoolSize

private static int defaultPoolSize()


retrieveDefaultPoolSize

public static int retrieveDefaultPoolSize()


 

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