|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.AgentConnectionPool
Constructor Summary | |
AgentConnectionPool(Resource r)
deprecated. |
|
AgentConnectionPool(Resource r,
LighthouseContext ctx)
|
Method Summary | |
void |
checkHungConnections()
|
boolean |
checkPoolCountValid()
Test method to check the pool status NOT FOR PUBLIC CONSUMPTION (not synchronized or anything) |
void |
closeConnections()
|
RASecureConnection |
getConnection()
Return a connected connection. |
java.lang.String |
getName()
|
int |
getPoolFreeCount()
Test method to check the pool status NOT FOR PUBLIC CONSUMPTION (not synchronized or anything) |
int |
getPoolInUseCount()
Test method to check the pool status NOT FOR PUBLIC CONSUMPTION (not synchronized or anything) |
Resource |
getResource()
Test method to show the pool name, resource, type, graphically |
boolean |
matchResource(Resource r)
If the class, port, and host match, return true. |
void |
reapConnections()
|
void |
returnConnection(RASecureConnection conn,
boolean isBogus)
Return a connection to the pool. |
void |
setHangTimeout(long timeout)
|
void |
setReaperSleep(long sleep)
|
void |
shutdown()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AgentConnectionPool(Resource r) throws WavesetException
public AgentConnectionPool(Resource r, LighthouseContext ctx) throws WavesetException
Method Detail |
public void setHangTimeout(long timeout)
public void setReaperSleep(long sleep)
public void reapConnections()
public void checkHungConnections()
public void closeConnections()
public void shutdown()
public RASecureConnection getConnection() throws java.io.IOException, java.lang.InterruptedException, java.security.InvalidKeyException
java.io.IOException
java.lang.InterruptedException
java.security.InvalidKeyException
public void returnConnection(RASecureConnection conn, boolean isBogus)
public boolean matchResource(Resource r)
public int getPoolFreeCount() throws WavesetException
WavesetException
public int getPoolInUseCount() throws WavesetException
WavesetException
public boolean checkPoolCountValid() throws WavesetException
WavesetException
public Resource getResource()
public java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |