org.elasticsearch.common.lucene.store
Class ThreadSafeInputStreamIndexInput

java.lang.Object
  extended by java.io.InputStream
      extended by org.elasticsearch.common.lucene.store.InputStreamIndexInput
          extended by org.elasticsearch.common.lucene.store.ThreadSafeInputStreamIndexInput
All Implemented Interfaces:
Closeable

public class ThreadSafeInputStreamIndexInput
extends InputStreamIndexInput


Constructor Summary
ThreadSafeInputStreamIndexInput(org.apache.lucene.store.IndexInput indexInput, long limit)
           
 
Method Summary
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class org.elasticsearch.common.lucene.store.InputStreamIndexInput
actualSizeToRead, mark, markSupported, read, reset
 
Methods inherited from class java.io.InputStream
available, close, read, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadSafeInputStreamIndexInput

public ThreadSafeInputStreamIndexInput(org.apache.lucene.store.IndexInput indexInput,
                                       long limit)
Method Detail

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class InputStreamIndexInput
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.