net.spy.pool
Class SNPPPoolAble
java.lang.Object
net.spy.SpyObject
net.spy.pool.PoolAble
net.spy.pool.SNPPPoolAble
public class SNPPPoolAble
- extends PoolAble
PoolAble object for containing a SNPP object.
|
Constructor Summary |
SNPPPoolAble(Object theObject,
int poolHash)
Get an instance of SNPPPoolAble. |
SNPPPoolAble(Object theObject,
long maxAge,
int poolHash)
Get an instance of SNPPPoolAble. |
|
Method Summary |
void |
discard()
Discard the object. |
boolean |
isAlive()
Find out of the SNPPPoolAble represents a usable object. |
| Methods inherited from class net.spy.pool.PoolAble |
activate, checkIn, checkOut, debug, getObject, getObjectID, intGetObject, isAvailable, isCheckedOut, pruneStatus, setAvailable, setMaxAge, setObjectID, setPoolName, setUnavailable, toString |
SNPPPoolAble
public SNPPPoolAble(Object theObject,
int poolHash)
- Get an instance of SNPPPoolAble.
SNPPPoolAble
public SNPPPoolAble(Object theObject,
long maxAge,
int poolHash)
- Get an instance of SNPPPoolAble.
discard
public void discard()
- Description copied from class:
PoolAble
- Discard the object. Anything that extends from this class needs to
call super.discard() when it's done.
- Overrides:
discard in class PoolAble
- See Also:
PoolAble
isAlive
public boolean isAlive()
- Find out of the SNPPPoolAble represents a usable object. This is
done via an SNPP reset.
- Overrides:
isAlive in class PoolAble
- Returns:
- true if the object will be usable
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.