Interface IConnectionPool
-
- All Known Implementing Classes:
ConnectionPool
public interface IConnectionPool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAvailableConnectionSize()GemApiClientgetConnection()intgetConnectionSize()intgetUsedConnectionSize()voidreleaseConnection(GemApiClient gemApiClient)voidreset()
-
-
-
Method Detail
-
getConnection
GemApiClient getConnection() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
releaseConnection
void releaseConnection(GemApiClient gemApiClient)
-
reset
void reset()
-
getConnectionSize
int getConnectionSize()
-
getAvailableConnectionSize
int getAvailableConnectionSize()
-
getUsedConnectionSize
int getUsedConnectionSize()
-
-