Package org.apache.james.mime4j.util
Class ByteArrayOutputStreamRecycler
- java.lang.Object
-
- org.apache.james.mime4j.util.ByteArrayOutputStreamRecycler
-
public class ByteArrayOutputStreamRecycler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ByteArrayOutputStreamRecycler.Wrapper
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.ConcurrentLinkedQueue<org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream>
buffers
-
Constructor Summary
Constructors Constructor Description ByteArrayOutputStreamRecycler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArrayOutputStreamRecycler.Wrapper
allocOutputStream()
private void
release(org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream value)
-
-
-
Method Detail
-
allocOutputStream
public ByteArrayOutputStreamRecycler.Wrapper allocOutputStream()
-
release
private void release(org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream value)
-
-