|
|||||||||
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 |
Method Detail |
---|
void create(CoreContainer cc, CoreDescriptor... coreDescriptors)
cc
- the CoreContainercoreDescriptors
- CoreDescriptors to persistvoid persist(CoreContainer cc, CoreDescriptor... coreDescriptors)
cc
- the CoreContainercoreDescriptors
- CoreDescriptors to persistvoid delete(CoreContainer cc, CoreDescriptor... coreDescriptors)
cc
- the CoreContainercoreDescriptors
- CoreDescriptors of the cores to removevoid rename(CoreContainer cc, CoreDescriptor oldCD, CoreDescriptor newCD)
cc
- the CoreContaineroldCD
- the CoreDescriptor of the core before renamingnewCD
- the CoreDescriptor of the core after renamingList<CoreDescriptor> discover(CoreContainer cc)
cc
- the CoreContainer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |