|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public ManagedConnectionPool getManagedConnectionPool()
public javax.management.ObjectName getManagedConnectionFactoryName()
public void setManagedConnectionFactoryName(javax.management.ObjectName newManagedConnectionFactoryName)
newManagedConnectionFactoryName
- The new ManagedConnectionFactoryName value.public long getAvailableConnectionCount()
public long getMaxConnectionsInUseCount()
public long getInUseConnectionCount()
public int getMinSize()
public void setMinSize(int newMinSize)
newMinSize
- The new MinSize value.public int getMaxSize()
public void setMaxSize(int newMaxSize)
newMaxSize
- The new MaxSize value.public int getBlockingTimeoutMillis()
public void setBlockingTimeoutMillis(int newBlockingTimeout)
newBlockingTimeout
- The new BlockingTimeout value.public long getIdleTimeoutMinutes()
public void setIdleTimeoutMinutes(long newIdleTimeoutMinutes)
newIdleTimeoutMinutes
- The new IdleTimeoutMinutes value.public String getCriteria()
public void setCriteria(String newCriteria)
newCriteria
- The new Criteria value.public boolean getNoTxSeparatePools()
public void setNoTxSeparatePools(boolean value)
public 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.
public int getConnectionCount()
public int getConnectionCreatedCount()
public int getConnectionDestroyedCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |