org.productivity.java.syslog4j
Interface SyslogPoolConfigIF

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
PooledSSLTCPNetSyslogConfig, PooledTCPNetSyslogConfig

public interface SyslogPoolConfigIF
extends java.io.Serializable

SyslogPoolConfigIF is an interface which provides configuration support for the Apache Commons Pool.

Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy of the LGPL license is available in the META-INF folder in all distributions of Syslog4j and in the base directory of the "doc" ZIP.

Version:
$Id: SyslogPoolConfigIF.java,v 1.2 2009/03/29 17:38:58 cvs Exp $
Author:
<syslog4j@productivity.org>

Method Summary
 int getMaxActive()
           
 int getMaxIdle()
           
 long getMaxWait()
           
 long getMinEvictableIdleTimeMillis()
           
 int getMinIdle()
           
 int getNumTestsPerEvictionRun()
           
 long getSoftMinEvictableIdleTimeMillis()
           
 long getTimeBetweenEvictionRunsMillis()
           
 byte getWhenExhaustedAction()
           
 boolean isTestOnBorrow()
           
 boolean isTestOnReturn()
           
 boolean isTestWhileIdle()
           
 void setMaxActive(int maxActive)
           
 void setMaxIdle(int maxIdle)
           
 void setMaxWait(long maxWait)
           
 void setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis)
           
 void setMinIdle(int minIdle)
           
 void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)
           
 void setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis)
           
 void setTestOnBorrow(boolean testOnBorrow)
           
 void setTestOnReturn(boolean testOnReturn)
           
 void setTestWhileIdle(boolean testWhileIdle)
           
 void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)
           
 void setWhenExhaustedAction(byte whenExhaustedAction)
           
 

Method Detail

getMaxActive

int getMaxActive()

setMaxActive

void setMaxActive(int maxActive)

getMaxIdle

int getMaxIdle()

setMaxIdle

void setMaxIdle(int maxIdle)

getMaxWait

long getMaxWait()

setMaxWait

void setMaxWait(long maxWait)

getMinEvictableIdleTimeMillis

long getMinEvictableIdleTimeMillis()

setMinEvictableIdleTimeMillis

void setMinEvictableIdleTimeMillis(long minEvictableIdleTimeMillis)

getMinIdle

int getMinIdle()

setMinIdle

void setMinIdle(int minIdle)

getNumTestsPerEvictionRun

int getNumTestsPerEvictionRun()

setNumTestsPerEvictionRun

void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)

getSoftMinEvictableIdleTimeMillis

long getSoftMinEvictableIdleTimeMillis()

setSoftMinEvictableIdleTimeMillis

void setSoftMinEvictableIdleTimeMillis(long softMinEvictableIdleTimeMillis)

isTestOnBorrow

boolean isTestOnBorrow()

setTestOnBorrow

void setTestOnBorrow(boolean testOnBorrow)

isTestOnReturn

boolean isTestOnReturn()

setTestOnReturn

void setTestOnReturn(boolean testOnReturn)

isTestWhileIdle

boolean isTestWhileIdle()

setTestWhileIdle

void setTestWhileIdle(boolean testWhileIdle)

getTimeBetweenEvictionRunsMillis

long getTimeBetweenEvictionRunsMillis()

setTimeBetweenEvictionRunsMillis

void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)

getWhenExhaustedAction

byte getWhenExhaustedAction()

setWhenExhaustedAction

void setWhenExhaustedAction(byte whenExhaustedAction)