org.smallmind.quorum.pool.connection.remote
Class RemoteConnectionPoolSurfaceImpl
java.lang.Object
org.smallmind.quorum.pool.connection.remote.RemoteConnectionPoolSurfaceImpl
- All Implemented Interfaces:
- ConnectionPoolSurface, RemoteConnectionPoolSurface, RemoteEndpoint
public class RemoteConnectionPoolSurfaceImpl
- extends Object
- implements RemoteConnectionPoolSurface, RemoteEndpoint
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteConnectionPoolSurfaceImpl
public RemoteConnectionPoolSurfaceImpl(ConnectionPool<?> connectionPool)
getProxyInterfaces
public Class[] getProxyInterfaces()
- Specified by:
getProxyInterfaces in interface RemoteEndpoint
addConnectionPoolEventListener
public void addConnectionPoolEventListener(ConnectionPoolEventListener listener)
- Specified by:
addConnectionPoolEventListener in interface RemoteConnectionPoolSurface
removeConnectionPoolEventListener
public void removeConnectionPoolEventListener(ConnectionPoolEventListener listener)
- Specified by:
removeConnectionPoolEventListener in interface RemoteConnectionPoolSurface
getPoolName
public String getPoolName()
- Specified by:
getPoolName in interface ConnectionPoolSurface
startup
public void startup()
throws ConnectionPoolException
- Specified by:
startup in interface ConnectionPoolSurface
- Throws:
ConnectionPoolException
shutdown
public void shutdown()
throws ConnectionPoolException
- Specified by:
shutdown in interface ConnectionPoolSurface
- Throws:
ConnectionPoolException
getPoolSize
public int getPoolSize()
- Specified by:
getPoolSize in interface ConnectionPoolSurface
getFreeSize
public int getFreeSize()
- Specified by:
getFreeSize in interface ConnectionPoolSurface
getProcessingSize
public int getProcessingSize()
- Specified by:
getProcessingSize in interface ConnectionPoolSurface
isTestOnConnect
public boolean isTestOnConnect()
- Specified by:
isTestOnConnect in interface ConnectionPoolSurface
setTestOnConnect
public void setTestOnConnect(boolean testOnConnect)
- Specified by:
setTestOnConnect in interface ConnectionPoolSurface
isTestOnAcquire
public boolean isTestOnAcquire()
- Specified by:
isTestOnAcquire in interface ConnectionPoolSurface
setTestOnAcquire
public void setTestOnAcquire(boolean testOnAcquire)
- Specified by:
setTestOnAcquire in interface ConnectionPoolSurface
isReportLeaseTimeNanos
public boolean isReportLeaseTimeNanos()
- Specified by:
isReportLeaseTimeNanos in interface ConnectionPoolSurface
setReportLeaseTimeNanos
public void setReportLeaseTimeNanos(boolean reportLeaseTimeNanos)
- Specified by:
setReportLeaseTimeNanos in interface ConnectionPoolSurface
isExistentiallyAware
public boolean isExistentiallyAware()
- Specified by:
isExistentiallyAware in interface ConnectionPoolSurface
setExistentiallyAware
public void setExistentiallyAware(boolean existentiallyAware)
- Specified by:
setExistentiallyAware in interface ConnectionPoolSurface
getConnectionTimeoutMillis
public long getConnectionTimeoutMillis()
- Specified by:
getConnectionTimeoutMillis in interface ConnectionPoolSurface
setConnectionTimeoutMillis
public void setConnectionTimeoutMillis(long connectionTimeoutMillis)
- Specified by:
setConnectionTimeoutMillis in interface ConnectionPoolSurface
getAcquireWaitTimeMillis
public long getAcquireWaitTimeMillis()
- Specified by:
getAcquireWaitTimeMillis in interface ConnectionPoolSurface
setAcquireWaitTimeMillis
public void setAcquireWaitTimeMillis(long acquireWaitTimeMillis)
- Specified by:
setAcquireWaitTimeMillis in interface ConnectionPoolSurface
getInitialPoolSize
public int getInitialPoolSize()
- Specified by:
getInitialPoolSize in interface ConnectionPoolSurface
getMinPoolSize
public int getMinPoolSize()
- Specified by:
getMinPoolSize in interface ConnectionPoolSurface
setMinPoolSize
public void setMinPoolSize(int minPoolSize)
- Specified by:
setMinPoolSize in interface ConnectionPoolSurface
getMaxPoolSize
public int getMaxPoolSize()
- Specified by:
getMaxPoolSize in interface ConnectionPoolSurface
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
- Specified by:
setMaxPoolSize in interface ConnectionPoolSurface
getMaxLeaseTimeSeconds
public int getMaxLeaseTimeSeconds()
- Specified by:
getMaxLeaseTimeSeconds in interface ConnectionPoolSurface
setMaxLeaseTimeSeconds
public void setMaxLeaseTimeSeconds(int maxLeaseTimeSeconds)
- Specified by:
setMaxLeaseTimeSeconds in interface ConnectionPoolSurface
getMaxIdleTimeSeconds
public int getMaxIdleTimeSeconds()
- Specified by:
getMaxIdleTimeSeconds in interface ConnectionPoolSurface
setMaxIdleTimeSeconds
public void setMaxIdleTimeSeconds(int maxIdleTimeSeconds)
- Specified by:
setMaxIdleTimeSeconds in interface ConnectionPoolSurface
getUnReturnedElementTimeoutSeconds
public int getUnReturnedElementTimeoutSeconds()
- Specified by:
getUnReturnedElementTimeoutSeconds in interface ConnectionPoolSurface
setUnReturnedElementTimeoutSeconds
public void setUnReturnedElementTimeoutSeconds(int unReturnedElementTimeoutSeconds)
- Specified by:
setUnReturnedElementTimeoutSeconds in interface ConnectionPoolSurface
Copyright © 2012. All Rights Reserved.