public class DefaultConnectionPoolMonitor extends Object implements ConnectionPoolMonitor
NAME
Modifier and Type | Method and Description |
---|---|
int |
getBlockingTimeoutMilliseconds() |
int |
getConnectionCount() |
int |
getIdleConnectionCount() |
int |
getIdleTimeoutMinutes() |
int |
getPartitionCount() |
int |
getPartitionMaxSize() |
int |
getPartitionMinSize() |
void |
handleNewConnectionManager(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm) |
void |
install() |
void |
setBlockingTimeoutMilliseconds(int timeoutMilliseconds) |
void |
setIdleTimeoutMinutes(int idleTimeoutMinutes) |
void |
setPartitionMaxSize(int maxSize) |
void |
setPartitionMinSize(int minSize) |
void |
uninstall() |
public int getConnectionCount()
getConnectionCount
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public int getIdleConnectionCount()
getIdleConnectionCount
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public int getBlockingTimeoutMilliseconds()
getBlockingTimeoutMilliseconds
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public int getIdleTimeoutMinutes()
getIdleTimeoutMinutes
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public int getPartitionCount()
getPartitionCount
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public int getPartitionMaxSize()
getPartitionMaxSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public void setPartitionMaxSize(int maxSize) throws InterruptedException
setPartitionMaxSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
InterruptedException
public int getPartitionMinSize()
getPartitionMinSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public void setPartitionMinSize(int minSize)
setPartitionMinSize
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public void setBlockingTimeoutMilliseconds(int timeoutMilliseconds)
setBlockingTimeoutMilliseconds
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public void setIdleTimeoutMinutes(int idleTimeoutMinutes)
setIdleTimeoutMinutes
in interface org.apache.geronimo.connector.outbound.PoolingAttributes
public void handleNewConnectionManager(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm)
Copyright © 2015 Nuxeo SA. All rights reserved.