org.activemq.util
Class FastOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.activemq.util.FastOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class FastOutputStream
- extends FilterOutputStream
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.
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastOutputStream
public FastOutputStream()
toByteArray
public byte[] toByteArray()
Copyright © 2004-2010 Protique, Ltd.. All Rights Reserved.