public class FsDirectoryService extends DirectoryService implements StoreRateLimiting.Listener, StoreRateLimiting.Provider
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected IndexStore |
indexStore |
deprecationLogger, indexSettings, logger, shardId| コンストラクタと説明 |
|---|
FsDirectoryService(IndexSettingsService indexSettingsService,
IndexStore indexStore,
ShardPath path) |
FsDirectoryService(Settings indexSettings,
IndexStore indexStore,
ShardPath path) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected org.apache.lucene.store.LockFactory |
buildLockFactory() |
static org.apache.lucene.store.LockFactory |
buildLockFactory(Settings indexSettings) |
org.apache.lucene.store.Directory |
newDirectory() |
protected org.apache.lucene.store.Directory |
newFSDirectory(Path location,
org.apache.lucene.store.LockFactory lockFactory) |
void |
onPause(long nanos) |
StoreRateLimiting |
rateLimiting() |
long |
throttleTimeInNanos() |
indexSettings, nodeName, shardIdprotected final IndexStore indexStore
@Inject public FsDirectoryService(IndexSettingsService indexSettingsService, IndexStore indexStore, ShardPath path)
public FsDirectoryService(Settings indexSettings, IndexStore indexStore, ShardPath path)
public long throttleTimeInNanos()
throttleTimeInNanos クラス内 DirectoryServicepublic StoreRateLimiting rateLimiting()
rateLimiting インタフェース内 StoreRateLimiting.Providerpublic static org.apache.lucene.store.LockFactory buildLockFactory(Settings indexSettings)
protected final org.apache.lucene.store.LockFactory buildLockFactory()
throws IOException
IOExceptionpublic org.apache.lucene.store.Directory newDirectory()
throws IOException
newDirectory クラス内 DirectoryServiceIOExceptionpublic void onPause(long nanos)
onPause インタフェース内 StoreRateLimiting.Listenerprotected org.apache.lucene.store.Directory newFSDirectory(Path location, org.apache.lucene.store.LockFactory lockFactory) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.