Package org.apache.solr.cloud
Class RefreshCollectionMessage
- java.lang.Object
-
- org.apache.solr.cloud.RefreshCollectionMessage
-
- All Implemented Interfaces:
Overseer.Message
public class RefreshCollectionMessage extends Object implements Overseer.Message
Refresh the ClusterState for a given collection. Useful for situations where updates to the cluster state happened outside of the overseer.
-
-
Field Summary
Fields Modifier and Type Field Description String
collection
-
Constructor Summary
Constructors Constructor Description RefreshCollectionMessage(String collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.common.cloud.ClusterState
run(org.apache.solr.common.cloud.ClusterState clusterState, Overseer overseer, ZkStateWriter zkStateWriter)
-
-
-
Field Detail
-
collection
public final String collection
-
-
Constructor Detail
-
RefreshCollectionMessage
public RefreshCollectionMessage(String collection)
-
-
Method Detail
-
run
public org.apache.solr.common.cloud.ClusterState run(org.apache.solr.common.cloud.ClusterState clusterState, Overseer overseer, ZkStateWriter zkStateWriter) throws Exception
- Specified by:
run
in interfaceOverseer.Message
- Throws:
Exception
-
-