org.nuxeo.ecm.core.management.jtajca.internal
Class DefaultConnectionMonitor
java.lang.Object
org.nuxeo.ecm.core.management.jtajca.internal.DefaultConnectionMonitor
- All Implemented Interfaces:
- org.apache.geronimo.connector.outbound.PoolingAttributes, ConnectionMonitor
public class DefaultConnectionMonitor
- extends Object
- implements ConnectionMonitor
- Author:
- matic
install
public static void install()
uninstall
public static void uninstall()
throws MBeanRegistrationException,
InstanceNotFoundException
- Throws:
MBeanRegistrationException
InstanceNotFoundException
lookup
public static org.apache.geronimo.connector.outbound.AbstractConnectionManager lookup()
getConnectionCount
public int getConnectionCount()
- Specified by:
getConnectionCount
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
getIdleConnectionCount
public int getIdleConnectionCount()
- Specified by:
getIdleConnectionCount
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
getBlockingTimeoutMilliseconds
public int getBlockingTimeoutMilliseconds()
- Specified by:
getBlockingTimeoutMilliseconds
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
getIdleTimeoutMinutes
public int getIdleTimeoutMinutes()
- Specified by:
getIdleTimeoutMinutes
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
getPartitionCount
public int getPartitionCount()
- Specified by:
getPartitionCount
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
getPartitionMaxSize
public int getPartitionMaxSize()
- Specified by:
getPartitionMaxSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
setPartitionMaxSize
public void setPartitionMaxSize(int maxSize)
throws InterruptedException
- Specified by:
setPartitionMaxSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
- Throws:
InterruptedException
getPartitionMinSize
public int getPartitionMinSize()
- Specified by:
getPartitionMinSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
setPartitionMinSize
public void setPartitionMinSize(int minSize)
- Specified by:
setPartitionMinSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
setBlockingTimeoutMilliseconds
public void setBlockingTimeoutMilliseconds(int timeoutMilliseconds)
- Specified by:
setBlockingTimeoutMilliseconds
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
setIdleTimeoutMinutes
public void setIdleTimeoutMinutes(int idleTimeoutMinutes)
- Specified by:
setIdleTimeoutMinutes
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
Copyright © 2011 Nuxeo SAS. All Rights Reserved.