|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.productivity.java.syslog4j.impl.AbstractSyslog org.productivity.java.syslog4j.impl.net.AbstractNetSyslog org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslog org.productivity.java.syslog4j.impl.net.tcp.pool.PooledTCPNetSyslog
public class PooledTCPNetSyslog
PooledTCPNetSyslog is an extension of TCPNetSyslog which provides support for 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.
Field Summary | |
---|---|
protected AbstractSyslogPoolFactory |
poolFactory
|
Fields inherited from class org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslog |
---|
tcpNetSyslogConfig, writer |
Fields inherited from class org.productivity.java.syslog4j.impl.net.AbstractNetSyslog |
---|
cachedHostAddress, cachedHostAddressSyncObject, netSyslogConfig |
Fields inherited from class org.productivity.java.syslog4j.impl.AbstractSyslog |
---|
backLogStatus, backLogStatusSyncObject, notifiedBackLogHandlers, structuredSyslogMessageProcessor, syslogConfig, syslogMessageProcessor, syslogProtocol |
Constructor Summary | |
---|---|
PooledTCPNetSyslog()
|
Method Summary | |
---|---|
protected AbstractSyslogPoolFactory |
createSyslogPoolFactory()
|
void |
flush()
|
AbstractSyslogWriter |
getWriter()
|
void |
initialize()
|
void |
returnWriter(AbstractSyslogWriter syslogWriter)
|
void |
shutdown()
|
Methods inherited from class org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslog |
---|
getWriter, write |
Methods inherited from class org.productivity.java.syslog4j.impl.net.AbstractNetSyslog |
---|
getHostAddress |
Methods inherited from class org.productivity.java.syslog4j.impl.AbstractSyslog |
---|
alert, alert, backLog, backLog, createWriter, createWriterThread, critical, critical, debug, debug, emergency, emergency, error, error, getBackLogStatus, getConfig, getMessageProcessor, getProtocol, getStructuredMessageProcessor, info, info, initialize, log, log, log, modifyMessage, notice, notice, prefixMessage, setBackLogStatus, setMessageProcessor, setStructuredMessageProcessor, warn, warn, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractSyslogPoolFactory poolFactory
Constructor Detail |
---|
public PooledTCPNetSyslog()
Method Detail |
---|
public void initialize() throws SyslogRuntimeException
initialize
in class TCPNetSyslog
SyslogRuntimeException
protected AbstractSyslogPoolFactory createSyslogPoolFactory()
public AbstractSyslogWriter getWriter()
getWriter
in class TCPNetSyslog
public void returnWriter(AbstractSyslogWriter syslogWriter)
returnWriter
in class TCPNetSyslog
public void flush() throws SyslogRuntimeException
flush
in interface SyslogIF
flush
in class TCPNetSyslog
SyslogRuntimeException
public void shutdown() throws SyslogRuntimeException
shutdown
in interface SyslogIF
shutdown
in class TCPNetSyslog
SyslogRuntimeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |