Class MaintainRoutedAliasCmd
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.MaintainRoutedAliasCmd
-
- All Implemented Interfaces:
CollApiCmds.CollectionApiCommand
public class MaintainRoutedAliasCmd extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected CollectionCommandContext
ccc
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTargetCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.util.NamedList<Object> results, String aliasName, org.apache.solr.common.cloud.ZkStateReader.AliasesManager aliasesManager, Map<String,String> aliasMetadata, RoutedAlias.Action action)
void
call(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results)
void
deleteTargetCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.util.NamedList<Object> results, String aliasName, org.apache.solr.common.cloud.ZkStateReader.AliasesManager aliasesManager, RoutedAlias.Action action)
-
-
-
Field Detail
-
ccc
protected final CollectionCommandContext ccc
-
-
Method Detail
-
call
public void call(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results) throws Exception
- Throws:
Exception
-
addTargetCollection
public void addTargetCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.util.NamedList<Object> results, String aliasName, org.apache.solr.common.cloud.ZkStateReader.AliasesManager aliasesManager, Map<String,String> aliasMetadata, RoutedAlias.Action action) throws Exception
- Throws:
Exception
-
deleteTargetCollection
public void deleteTargetCollection(org.apache.solr.common.cloud.ClusterState clusterState, org.apache.solr.common.util.NamedList<Object> results, String aliasName, org.apache.solr.common.cloud.ZkStateReader.AliasesManager aliasesManager, RoutedAlias.Action action) throws Exception
- Throws:
Exception
-
-