public interface NetClientPool
| Modifier and Type | Method and Description | 
|---|---|
int | 
borrowedObjectsCount()
The number of objects that are currently checked out. 
 | 
java.lang.Object | 
borrowObject(java.lang.Object url)
borrow a connection 
 | 
void | 
invalidateObject(java.lang.Object client)
invalidate a client 
 | 
void | 
returnObject(java.lang.Object client)
return a client 
 | 
int | 
size()
pool size 
 | 
java.lang.Object borrowObject(java.lang.Object url)
                       throws java.lang.Exception
url - the urljava.lang.Exception - a serious problemvoid returnObject(java.lang.Object client)
           throws java.lang.Exception
client - a clientjava.lang.Exception - a serious problemvoid invalidateObject(java.lang.Object client)
               throws java.lang.Exception
client - the client to invalidatejava.lang.Exception - a serious problemint size() throws java.lang.Exception
java.lang.Exception - a serious problemint borrowedObjectsCount()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.