|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.activemq.util.FastInputStream
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.
Field Summary |
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
FastInputStream(byte[] data)
|
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FastInputStream(byte[] data)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |