mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
decouple IndexingMemoryController from IndexShard
This commit is contained in:
parent
487af301ea
commit
a311491c8e
13 changed files with 45 additions and 31 deletions
|
@ -36,8 +36,9 @@ public class SMBStorePlugin extends Plugin {
|
|||
return "SMB Store Plugin";
|
||||
}
|
||||
|
||||
public void onModule(IndexModule storeModule) {
|
||||
storeModule.addIndexStore("smb_mmap_fs", SmbMmapFsIndexStore::new);
|
||||
storeModule.addIndexStore("smb_simple_fs", SmbSimpleFsIndexStore::new);
|
||||
@Override
|
||||
public void onIndexModule(IndexModule indexModule) {
|
||||
indexModule.addIndexStore("smb_mmap_fs", SmbMmapFsIndexStore::new);
|
||||
indexModule.addIndexStore("smb_simple_fs", SmbSimpleFsIndexStore::new);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue