|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avalon.excalibur.pool.DefaultPoolController
public class DefaultPoolController
This is a PoolController that controls how many
instances of a Poolable are created at one time.
| Field Summary | |
|---|---|
private int |
m_amount
|
| Constructor Summary | |
|---|---|
DefaultPoolController()
|
|
DefaultPoolController(int amount)
|
|
| Method Summary | |
|---|---|
int |
grow()
|
int |
shrink()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int m_amount
| Constructor Detail |
|---|
public DefaultPoolController()
public DefaultPoolController(int amount)
| Method Detail |
|---|
public int grow()
grow in interface org.apache.avalon.excalibur.pool.PoolControllerpublic int shrink()
shrink in interface org.apache.avalon.excalibur.pool.PoolController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||