Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.io
Class CharPipe

java.lang.Object
  extended by com.liferay.portal.kernel.io.CharPipe

public class CharPipe
extends Object


Field Summary
protected  char[] buffer
           
protected  Lock bufferLock
           
protected  int count
           
protected  boolean finished
           
protected  Condition notEmpty
           
protected  Condition notFull
           
protected  int readIndex
           
protected  int writeIndex
           
 
Constructor Summary
CharPipe()
           
CharPipe(int bufferSize)
           
 
Method Summary
 void close()
           
 void close(boolean force)
           
 Reader getReader()
           
 Writer getWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected char[] buffer

bufferLock

protected Lock bufferLock

count

protected int count

finished

protected boolean finished

notEmpty

protected Condition notEmpty

notFull

protected Condition notFull

readIndex

protected int readIndex

writeIndex

protected int writeIndex
Constructor Detail

CharPipe

public CharPipe()

CharPipe

public CharPipe(int bufferSize)
Method Detail

close

public void close()

close

public void close(boolean force)

getReader

public Reader getReader()

getWriter

public Writer getWriter()

Liferay 6.1.2-ce-ga3