Class InstallShardDataCmd
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.InstallShardDataCmd
-
- All Implemented Interfaces:
CollApiCmds.CollectionApiCommand
public class InstallShardDataCmd extends Object implements CollApiCmds.CollectionApiCommand
Overseer processing for the "install shard data" API.Largely this overseer processing consists of ensuring that read-only mode is enabled for the specified collection, identifying the core hosting the shard leader, and sending it a core- admin 'install' request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstallShardDataCmd.RemoteMessage
A value-type representing the message received byInstallShardDataCmd
-
Constructor Summary
Constructors Constructor Description InstallShardDataCmd(CollectionCommandContext ccc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(org.apache.solr.common.cloud.ClusterState state, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results)
-
-
-
Constructor Detail
-
InstallShardDataCmd
public InstallShardDataCmd(CollectionCommandContext ccc)
-
-
Method Detail
-
call
public void call(org.apache.solr.common.cloud.ClusterState state, org.apache.solr.common.cloud.ZkNodeProps message, org.apache.solr.common.util.NamedList<Object> results) throws Exception
- Specified by:
call
in interfaceCollApiCmds.CollectionApiCommand
- Throws:
Exception
-
-