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, unwrappublic 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.FilterDirectoryjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.lucene.store.FilterDirectoryjava.io.IOExceptionpublic java.lang.String toString()
toString in class org.apache.lucene.store.FilterDirectory