|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.solr.server.SolrServers
public abstract class SolrServers
manages one SolrServer instance per core.
| Constructor Summary | |
|---|---|
SolrServers()
|
|
| Method Summary | |
|---|---|
protected abstract SolrServer |
createServer(java.lang.String coreName)
create correct SolrServer instance for the given core. |
abstract SolrServer |
getAdminServer()
create a SolrServer for admin operations not related to a single core (e.g. getting core names). |
SolrServer |
getSolrServer(java.lang.String coreName)
create (if necessary), cache and return a SolrServer for the given core. |
void |
removeAllServers()
remove all SolrServers. |
void |
removeSolrServer(java.lang.String coreName)
remove a SolrServer that is not needed anymore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolrServers()
| Method Detail |
|---|
public abstract SolrServer getAdminServer()
throws SolrServerException
SolrServerException
public SolrServer getSolrServer(java.lang.String coreName)
throws SolrServerException
SolrServer for the given core.
SolrServerExceptionpublic void removeSolrServer(java.lang.String coreName)
SolrServer that is not needed anymore.
public void removeAllServers()
SolrServers.
protected abstract SolrServer createServer(java.lang.String coreName)
throws SolrServerException
SolrServer instance for the given core.
SolrServerException
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||