|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
org.activemq.util.FastOutputStream
This provides OutputStream that delegates to com.sleepycat.util.FastOutputStream if it is available and if it is not it delegates to java.io.ByteArrayOutputStream. This class allows ActiveMQ to not be dependent on the bdb lib. It might be worth it to just fully implement a FastOutputStream ourselfs. I think it's just a ByteArrayOutputStream what is not thread safe.
Field Summary |
Fields inherited from class java.io.FilterOutputStream |
out |
Constructor Summary | |
FastOutputStream()
|
Method Summary | |
byte[] |
toByteArray()
|
Methods inherited from class java.io.FilterOutputStream |
close, flush, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FastOutputStream()
Method Detail |
public byte[] toByteArray()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |