|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JBossManagedConnectionPoolMBean
MBean interface.
Field Summary | |
---|---|
static javax.management.ObjectName |
OBJECT_NAME
|
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
---|---|
void |
flush()
The flush method puts all currently checked out connections on a list to be destroyed when returned and disposes of all current pooled connections. |
long |
getAvailableConnectionCount()
Get number of available free connections |
int |
getBlockingTimeoutMillis()
The BlockingTimeoutMillis attribute indicates the maximum time to block while waiting for a connection before throwing an exception. |
int |
getConnectionCount()
Retrieve the connection count. |
int |
getConnectionCreatedCount()
Retrieve the connection created count. |
int |
getConnectionDestroyedCount()
Retrieve the destrooyed count. |
String |
getCriteria()
The Criteria attribute indicates if Subject (from security domain) or app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool. |
long |
getIdleTimeoutMinutes()
The IdleTimeoutMinutes attribute indicates the maximum time a connection may be idle before being closed. |
long |
getInUseConnectionCount()
Get number of connections currently in use |
javax.management.ObjectName |
getManagedConnectionFactoryName()
ManagedConnectionFactoryName holds the ObjectName of the mbean that represents the ManagedConnectionFactory. |
ManagedConnectionPool |
getManagedConnectionPool()
ManagedConnectionPool is a read only attribute returning the pool set up by this mbean. |
long |
getMaxConnectionsInUseCount()
|
int |
getMaxSize()
The MaxSize attribute indicates the maximum number of connections for a pool. |
int |
getMinSize()
The MinSize attribute indicates the minimum number of connections this pool should hold. |
boolean |
getNoTxSeparatePools()
Separate pools for transactional use |
void |
setBlockingTimeoutMillis(int newBlockingTimeout)
Set the BlockingTimeout value. |
void |
setCriteria(String newCriteria)
Set the Criteria value. |
void |
setIdleTimeoutMinutes(long newIdleTimeoutMinutes)
Set the IdleTimeoutMinutes value. |
void |
setManagedConnectionFactoryName(javax.management.ObjectName newManagedConnectionFactoryName)
Set the ManagedConnectionFactoryName value. |
void |
setMaxSize(int newMaxSize)
Set the MaxSize value. |
void |
setMinSize(int newMinSize)
Set the MinSize value. |
void |
setNoTxSeparatePools(boolean value)
|
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Field Detail |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
ManagedConnectionPool getManagedConnectionPool()
javax.management.ObjectName getManagedConnectionFactoryName()
void setManagedConnectionFactoryName(javax.management.ObjectName newManagedConnectionFactoryName)
newManagedConnectionFactoryName
- The new ManagedConnectionFactoryName value.long getAvailableConnectionCount()
long getMaxConnectionsInUseCount()
long getInUseConnectionCount()
int getMinSize()
void setMinSize(int newMinSize)
newMinSize
- The new MinSize value.int getMaxSize()
void setMaxSize(int newMaxSize)
newMaxSize
- The new MaxSize value.int getBlockingTimeoutMillis()
void setBlockingTimeoutMillis(int newBlockingTimeout)
newBlockingTimeout
- The new BlockingTimeout value.long getIdleTimeoutMinutes()
void setIdleTimeoutMinutes(long newIdleTimeoutMinutes)
newIdleTimeoutMinutes
- The new IdleTimeoutMinutes value.String getCriteria()
void setCriteria(String newCriteria)
newCriteria
- The new Criteria value.boolean getNoTxSeparatePools()
void setNoTxSeparatePools(boolean value)
void flush()
flush
method puts all currently checked out connections on a list to be destroyed when returned and disposes of all current pooled connections.
int getConnectionCount()
int getConnectionCreatedCount()
int getConnectionDestroyedCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |