|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.util.Pool
@Deprecated public class Pool
A generic object pooling class.
| Constructor Summary | |
|---|---|
Pool(PoolMemberFactory factory,
int size)
Deprecated Standard constructor. |
|
| Method Summary | |
|---|---|
Object |
getInstance()
Deprecated Provide a free member of the pool. |
void |
returnInstance(Object memberObject)
Deprecated Return a member of the pool to available status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pool(PoolMemberFactory factory,
int size)
factory - the factory from which to obtain objects,
as necessarysize - the maximum pool size| Method Detail |
|---|
public Object getInstance()
public void returnInstance(Object memberObject)
memberObject - the object to return
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||