| 
 | org.codehaus.gpars | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface Pool
Represents an actor's thread pool
| Field Summary | |
|---|---|
| java.lang.String | POOL_SIZE_MUST_BE_A_POSITIVE_NUMBER | 
| java.lang.String | UNCAUGHT_EXCEPTION_OCCURRED_IN_GPARS_POOL | 
| Method Summary | |
|---|---|
| void | execute(java.lang.Runnable task) | 
| int | getPoolSize()Gently stops the pool | 
| void | resetDefaultSize() | 
| void | resize(int poolSize) | 
| void | shutdown() | 
| Field Detail | 
|---|
public java.lang.String POOL_SIZE_MUST_BE_A_POSITIVE_NUMBER
public java.lang.String UNCAUGHT_EXCEPTION_OCCURRED_IN_GPARS_POOL
| Method Detail | 
|---|
public void execute(java.lang.Runnable task)
public int getPoolSize()
public void resetDefaultSize()
public void resize(int poolSize)
public void shutdown()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.