Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.management.jtajca.internal
Class DefaultConnectionMonitor

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.core.management.jtajca.ConnectionMonitor
NAME
 
Method Summary
 int getBlockingTimeoutMilliseconds()
           
 int getConnectionCount()
           
 int getIdleConnectionCount()
           
 int getIdleTimeoutMinutes()
           
 int getPartitionCount()
           
 int getPartitionMaxSize()
           
 int getPartitionMinSize()
           
static void install()
           
static org.apache.geronimo.connector.outbound.AbstractConnectionManager lookup()
           
 void setBlockingTimeoutMilliseconds(int timeoutMilliseconds)
           
 void setIdleTimeoutMinutes(int idleTimeoutMinutes)
           
 void setPartitionMaxSize(int maxSize)
           
 void setPartitionMinSize(int minSize)
           
static void uninstall()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.