Class MaintainCategoryRoutedAliasCmd
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.MaintainCategoryRoutedAliasCmd
-
- All Implemented Interfaces:
OverseerCollectionMessageHandler.Cmd
public class MaintainCategoryRoutedAliasCmd extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
IF_CATEGORY_COLLECTION_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(ClusterState state, ZkNodeProps message, NamedList results)
static void
remoteInvoke(CollectionsHandler collHandler, String aliasName, String categoryCollection)
Invokes this command from the client.
-
-
-
Field Detail
-
IF_CATEGORY_COLLECTION_NOT_FOUND
public static final String IF_CATEGORY_COLLECTION_NOT_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
remoteInvoke
public static void remoteInvoke(CollectionsHandler collHandler, String aliasName, String categoryCollection) throws Exception
Invokes this command from the client. If there's a problem it will throw an exception. Please note that is important to never add async to this invocation. This method must block (up to the standard OCP timeout) to prevent large batches of add's from sending a message to the overseer for every document added in RoutedAliasUpdateProcessor.- Throws:
Exception
-
call
public void call(ClusterState state, ZkNodeProps message, NamedList results) throws Exception
- Throws:
Exception
-
-