|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryConnectionPoolMBean
MBean interface to manage a repository connection pool
| Method Summary | |
|---|---|
java.lang.String |
getDatabaseDriver()
Get the database driver's class name |
java.lang.String |
getDatabasePassword()
Get the password for the database connection |
java.lang.String |
getDatabaseType()
Get the type of database connection |
java.lang.String |
getDatabaseUrl()
Get the database JDBC URL |
java.lang.String |
getDatabaseUserName()
Get the username for the database connection |
int |
getQueryConnectionInactiveSize()
Get the number of inactive connections in the QUERY connection pool |
int |
getQueryConnectionInUseSize()
Get the number of connections currently in-use from the QUERY connection pool |
int |
getQueryConnectionMaxPoolSize()
Get the max size of the QUERY connection pool |
int |
getQueryConnectionPoolMaxIdle()
Get the max number of idle connections in the QUERY connection pool |
long |
getQueryConnectionPoolMaxWaitTime()
Get max time to wait for a connection from the QUERY connection pool |
long |
getQueryConnectionPoolMinIdleTime()
Get minimum time to wait before an idle connection from the QUERY connection pool is destroyed |
int |
getReadConnectionInactiveSize()
Get the number of inactive connections in the READ connection pool |
int |
getReadConnectionInUseSize()
Get the number of connections currently in-use from the READ connection pool |
int |
getReadConnectionMaxPoolSize()
Get the max size of the READ connection pool |
int |
getReadConnectionPoolMaxIdle()
Get the max number of idle connections in the READ connection pool |
long |
getReadConnectionPoolMaxWaitTime()
Get max time to wait for a connection from the READ connection pool |
long |
getReadConnectionPoolMinIdleTime()
Get minimum time to wait before an idle connection from the READ connection pool is destroyed |
int |
getWriteConnectionInactiveSize()
Get the number of inactive connections in the WRITE connection pool |
int |
getWriteConnectionInUseSize()
Get the number of connections currently in-use from the WRITE connection pool |
int |
getWriteConnectionMaxPoolSize()
Get the max size of the WRITE connection pool |
int |
getWriteConnectionPoolMaxIdle()
Get the max number of idle connections in the WRITE connection pool |
long |
getWriteConnectionPoolMaxWaitTime()
Get max time to wait for a connection from the WRITE connection pool |
long |
getWriteConnectionPoolMinIdleTime()
Get minimum time to wait before an idle connection from the WRITE connection pool is destroyed |
void |
purgeAndReset()
Function to purge all connections in pool, and restart using current configuration values |
void |
setDatabaseDriver(java.lang.String driverName)
Set the database driver's class name |
void |
setDatabasePassword(java.lang.String password)
Set the password for the database connection |
void |
setDatabaseType(java.lang.String dbType)
Set the type of database connection |
void |
setDatabaseUrl(java.lang.String jdbcUrl)
Set the database JDBC URL |
void |
setDatabaseUserName(java.lang.String userName)
Set the username for the database connection |
void |
setQueryConnectionMaxPoolSize(int size)
Set the max size of the QUERY connection pool |
void |
setQueryConnectionPoolMaxIdle(int max)
Set the max number of idle connections in the QUERY connection pool |
void |
setQueryConnectionPoolMaxWaitTime(long maxWait)
Get set the max time to wait for a connection from the QUERY connection pool |
void |
setQueryConnectionPoolMinIdleTime(long minWait)
Set minimum time to wait before an idle connection from the QUERY connection pool is destroyed |
void |
setReadConnectionMaxPoolSize(int size)
Set the max size of the READ connection pool |
void |
setReadConnectionPoolMaxIdle(int max)
Set the max number of idle connections in the READ connection pool |
void |
setReadConnectionPoolMaxWaitTime(long maxWait)
Get set the max time to wait for a connection from the READ connection pool |
void |
setReadConnectionPoolMinIdleTime(long minWait)
Set minimum time to wait before an idle connection from the READ connection pool is destroyed |
void |
setWriteConnectionMaxPoolSize(int size)
Set the max size of the WRITE connection pool |
void |
setWriteConnectionPoolMaxIdle(int max)
Set the max number of idle connections in the WRITE connection pool |
void |
setWriteConnectionPoolMaxWaitTime(long maxWait)
Get set the max time to wait for a connection from the WRITE connection pool |
void |
setWriteConnectionPoolMinIdleTime(long minWait)
Set minimum time to wait before an idle connection from the WRITE connection pool is destroyed |
| Method Detail |
|---|
int getReadConnectionMaxPoolSize()
int getQueryConnectionMaxPoolSize()
int getWriteConnectionMaxPoolSize()
void setReadConnectionMaxPoolSize(int size)
size - the max size of the READ connection poolvoid setQueryConnectionMaxPoolSize(int size)
size - the max size of the QUERY connection poolvoid setWriteConnectionMaxPoolSize(int size)
size - the max size of the WRITE connection poolint getReadConnectionInUseSize()
int getQueryConnectionInUseSize()
int getWriteConnectionInUseSize()
int getReadConnectionInactiveSize()
int getQueryConnectionInactiveSize()
int getWriteConnectionInactiveSize()
long getReadConnectionPoolMaxWaitTime()
long getQueryConnectionPoolMaxWaitTime()
long getWriteConnectionPoolMaxWaitTime()
void setReadConnectionPoolMaxWaitTime(long maxWait)
maxWait - max time to wait for a connection from the READ connection poolvoid setQueryConnectionPoolMaxWaitTime(long maxWait)
maxWait - max time to wait for a connection from the QUERY connection poolvoid setWriteConnectionPoolMaxWaitTime(long maxWait)
maxWait - max time to wait for a connection from the WRITE connection poollong getReadConnectionPoolMinIdleTime()
long getQueryConnectionPoolMinIdleTime()
long getWriteConnectionPoolMinIdleTime()
void setReadConnectionPoolMinIdleTime(long minWait)
minWait - minimum time to wait before an idle connection from the READ connection pool is destroyedvoid setQueryConnectionPoolMinIdleTime(long minWait)
minWait - minimum time to wait before an idle connection from the QUERY connection pool is destroyedvoid setWriteConnectionPoolMinIdleTime(long minWait)
minWait - minimum time to wait before an idle connection from the WRITE connection pool is destroyedint getReadConnectionPoolMaxIdle()
int getQueryConnectionPoolMaxIdle()
int getWriteConnectionPoolMaxIdle()
void setReadConnectionPoolMaxIdle(int max)
max - the max number of idle connections in the READ connection poolvoid setQueryConnectionPoolMaxIdle(int max)
max - the max number of idle connections in the READ connection poolvoid setWriteConnectionPoolMaxIdle(int max)
max - the max number of idle connections in the WRITE connection pooljava.lang.String getDatabaseUrl()
void setDatabaseUrl(java.lang.String jdbcUrl)
jdbcUrl - the database JDBC URLjava.lang.String getDatabaseUserName()
void setDatabaseUserName(java.lang.String userName)
userName - the username for the database connectionjava.lang.String getDatabasePassword()
void setDatabasePassword(java.lang.String password)
password - the password for the database connectionjava.lang.String getDatabaseType()
void setDatabaseType(java.lang.String dbType)
dbType - the type of database connectionjava.lang.String getDatabaseDriver()
void setDatabaseDriver(java.lang.String driverName)
driverName - the database driver's class namevoid purgeAndReset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||