org.activemq.util
Class FastInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.activemq.util.FastInputStream
- All Implemented Interfaces:
- Closeable
public class FastInputStream
- extends FilterInputStream
This provides InputStream that delegates to com.sleepycat.util.FastInputStream
if it is available and if it is not it delegates to java.io.ByteArrayInputStream.
This class allows ActiveMQ to not be dependent on the bdb lib. It might
be worth it to just fully implement a FastInputStream ourselfs. I think
it's just a ByteArrayInputStream 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 |
FastInputStream
public FastInputStream(byte[] data)
Copyright © 2004-2009 Protique, Ltd.. All Rights Reserved.