decouple IndexingMemoryController from IndexShard

This commit is contained in:
Simon Willnauer 2015-11-04 15:19:52 +01:00
parent 487af301ea
commit a311491c8e
13 changed files with 45 additions and 31 deletions

View file

@ -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);
}
}