public final class RateLimitedFSDirectory
extends org.apache.lucene.store.FilterDirectory
Constructor and Description |
---|
RateLimitedFSDirectory(org.apache.lucene.store.Directory wrapped,
StoreRateLimiting.Provider rateLimitingProvider,
StoreRateLimiting.Listener rateListener) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.lucene.store.IndexOutput |
createOutput(java.lang.String name,
org.apache.lucene.store.IOContext context) |
java.lang.String |
toString() |
createTempOutput, deleteFile, fileLength, getDelegate, listAll, obtainLock, openInput, rename, sync, syncMetaData, unwrap
public RateLimitedFSDirectory(org.apache.lucene.store.Directory wrapped, StoreRateLimiting.Provider rateLimitingProvider, StoreRateLimiting.Listener rateListener)
public org.apache.lucene.store.IndexOutput createOutput(java.lang.String name, org.apache.lucene.store.IOContext context) throws java.io.IOException
createOutput
in class org.apache.lucene.store.FilterDirectory
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.lucene.store.FilterDirectory
java.io.IOException
public java.lang.String toString()
toString
in class org.apache.lucene.store.FilterDirectory