Package org.apache.solr.handler.admin
Interface CoreAdminHandler.CoreAdminOp
-
- All Known Implementing Classes:
CoreAdminOperation
,InstallCoreDataOp
- Enclosing class:
- CoreAdminHandler
public static interface CoreAdminHandler.CoreAdminOp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
execute(CoreAdminHandler.CallInfo it)
default boolean
isExpensive()
-
-
-
Method Detail
-
isExpensive
default boolean isExpensive()
-
execute
void execute(CoreAdminHandler.CallInfo it) throws Exception
- Parameters:
it
- request/response objectIf the request is invalid throw a SolrException with SolrException.ErrorCode.BAD_REQUEST ( 400 ) If the execution of the command fails throw a SolrException with SolrException.ErrorCode.SERVER_ERROR ( 500 )
Any non-SolrException's are wrapped at a higher level as a SolrException with SolrException.ErrorCode.SERVER_ERROR.
- Throws:
Exception
-
-