Package | Description |
---|---|
org.elasticsearch.index.store | |
org.elasticsearch.index.store.distributor |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.Directory |
DirectoryService.newFromDistributor(Distributor distributor)
Creates a new Directory from the given distributor.
|
Modifier and Type | Method and Description |
---|---|
void |
StoreModule.setDistributor(Class<? extends Distributor> distributor) |
Constructor and Description |
---|
DistributorDirectory(Distributor distributor)
Creates a new DistributorDirectory form the given Distributor.
|
Store(ShardId shardId,
Settings indexSettings,
DirectoryService directoryService,
Distributor distributor,
ShardLock shardLock) |
Store(ShardId shardId,
Settings indexSettings,
DirectoryService directoryService,
Distributor distributor,
ShardLock shardLock,
Store.OnClose onClose) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDistributor |
class |
LeastUsedDistributor
Implements directory distributor that always return the directory is the most available space
|
class |
RandomWeightedDistributor
Implements directory distributor that picks a directory at random.
|
Copyright © 2009–2015. All rights reserved.