org.eclipse.jetty.server
类 AsyncNCSARequestLog

java.lang.Object
  继承者 org.eclipse.jetty.util.component.AbstractLifeCycle
      继承者 org.eclipse.jetty.server.NCSARequestLog
          继承者 org.eclipse.jetty.server.AsyncNCSARequestLog
所有已实现的接口:
RequestLog, LifeCycle

public class AsyncNCSARequestLog
extends NCSARequestLog

An asynchronously writing NCSA Request Log


嵌套类摘要
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的嵌套类/接口
AbstractLifeCycle.AbstractLifeCycleListener
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
字段摘要
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
构造方法摘要
AsyncNCSARequestLog()
           
AsyncNCSARequestLog(BlockingQueue<String> queue)
           
AsyncNCSARequestLog(String filename)
           
AsyncNCSARequestLog(String filename, BlockingQueue<String> queue)
           
 
方法摘要
protected  void doStart()
          Set up request logging and open log file.
protected  void doStop()
          Close the log file and perform cleanup.
protected  void write(String log)
           
 
从类 org.eclipse.jetty.server.NCSARequestLog 继承的方法
getDatedFilename, getFilename, getFilenameDateFormat, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, getRetainDays, isAppend, isExtended, isLogDispatch, log, logExtended, setAppend, setExtended, setFilename, setFilenameDateFormat, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddress, setRetainDays
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

构造方法详细信息

AsyncNCSARequestLog

public AsyncNCSARequestLog()

AsyncNCSARequestLog

public AsyncNCSARequestLog(BlockingQueue<String> queue)

AsyncNCSARequestLog

public AsyncNCSARequestLog(String filename)

AsyncNCSARequestLog

public AsyncNCSARequestLog(String filename,
                           BlockingQueue<String> queue)
方法详细信息

doStart

protected void doStart()
                throws Exception
从类 NCSARequestLog 复制的描述
Set up request logging and open log file.

覆盖:
NCSARequestLog 中的 doStart
抛出:
Exception
另请参见:
AbstractLifeCycle.doStart()

doStop

protected void doStop()
               throws Exception
从类 NCSARequestLog 复制的描述
Close the log file and perform cleanup.

覆盖:
NCSARequestLog 中的 doStop
抛出:
Exception
另请参见:
AbstractLifeCycle.doStop()

write

protected void write(String log)
              throws IOException
覆盖:
NCSARequestLog 中的 write
抛出:
IOException


Copyright © 2013. All Rights Reserved.