com.caucho.server.log
Class LogBuffer

java.lang.Object
  extended by com.caucho.server.log.LogBuffer

public final class LogBuffer
extends java.lang.Object

Holds the HTTP buffers for keepalive reuse. Because a request needs a large number of buffers, but a keepalive doesn't need those buffers, Resin can recycle the buffers during keepalives to keep the memory consumption low.


Method Summary
 byte[] getBuffer()
           
 int getLength()
           
 LogBuffer getNext()
           
 void setLength(int length)
           
 void setNext(LogBuffer next)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBuffer

public final byte[] getBuffer()

setLength

public final void setLength(int length)

getLength

public final int getLength()

getNext

public final LogBuffer getNext()

setNext

public final void setNext(LogBuffer next)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object