Class InstallShardDataCmd
java.lang.Object
org.apache.solr.cloud.api.collections.InstallShardDataCmd
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic classA value-type representing the message received byInstallShardDataCmd -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InstallShardDataCmd
-
-
Method Details
-
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:
callin interfaceCollApiCmds.CollectionApiCommand- Throws:
Exception
-