|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CoresLocator
Manage the discovery and persistence of core definitions across Solr restarts
| Method Summary | |
|---|---|
void |
create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Make new cores available for discovery |
void |
delete(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors are not available for discovery |
List<CoreDescriptor> |
discover(CoreContainer cc)
Load all the CoreDescriptors from persistence store |
void |
persist(CoreContainer cc,
CoreDescriptor... coreDescriptors)
Ensure that the core definitions from the passed in CoreDescriptors will persist across container restarts. |
void |
rename(CoreContainer cc,
CoreDescriptor oldCD,
CoreDescriptor newCD)
Persist the new name of a renamed core |
void |
swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2)
Swap two core definitions |
| Method Detail |
|---|
void create(CoreContainer cc,
CoreDescriptor... coreDescriptors)
cc - the CoreContainercoreDescriptors - CoreDescriptors to persist
void persist(CoreContainer cc,
CoreDescriptor... coreDescriptors)
cc - the CoreContainercoreDescriptors - CoreDescriptors to persist
void delete(CoreContainer cc,
CoreDescriptor... coreDescriptors)
cc - the CoreContainercoreDescriptors - CoreDescriptors of the cores to remove
void rename(CoreContainer cc,
CoreDescriptor oldCD,
CoreDescriptor newCD)
cc - the CoreContaineroldCD - the CoreDescriptor of the core before renamingnewCD - the CoreDescriptor of the core after renaming
void swap(CoreContainer cc,
CoreDescriptor cd1,
CoreDescriptor cd2)
cc - the CoreContainercd1 - the core descriptor of the first core, after swappingcd2 - the core descriptor of the second core, after swappingList<CoreDescriptor> discover(CoreContainer cc)
cc - the CoreContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||