org.elasticsearch.index.store.fs
Class FsDirectoryService
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.store.fs.FsDirectoryService
- All Implemented Interfaces:
- StoreRateLimiting.Listener, StoreRateLimiting.Provider, IndexShardComponent, DirectoryService
- Direct Known Subclasses:
- MmapFsDirectoryService, NioFsDirectoryService, SimpleFsDirectoryService
public abstract class FsDirectoryService
- extends AbstractIndexShardComponent
- implements DirectoryService, StoreRateLimiting.Listener, StoreRateLimiting.Provider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indexStore
protected final FsIndexStore indexStore
FsDirectoryService
public FsDirectoryService(ShardId shardId,
@IndexSettings
Settings indexSettings,
IndexStore indexStore)
throttleTimeInNanos
public long throttleTimeInNanos()
- Specified by:
throttleTimeInNanos
in interface DirectoryService
rateLimiting
public StoreRateLimiting rateLimiting()
- Specified by:
rateLimiting
in interface StoreRateLimiting.Provider
buildLockFactory
protected org.apache.lucene.store.LockFactory buildLockFactory()
throws IOException
- Throws:
IOException
renameFile
public void renameFile(org.apache.lucene.store.Directory dir,
String from,
String to)
throws IOException
- Specified by:
renameFile
in interface DirectoryService
- Throws:
IOException
fullDelete
public void fullDelete(org.apache.lucene.store.Directory dir)
throws IOException
- Specified by:
fullDelete
in interface DirectoryService
- Throws:
IOException
onPause
public void onPause(long nanos)
- Specified by:
onPause
in interface StoreRateLimiting.Listener
Copyright © 2009-2012. All Rights Reserved.