Class DistributedCollectionCommandContext
java.lang.Object
org.apache.solr.cloud.api.collections.DistributedCollectionCommandContext
- All Implemented Interfaces:
CollectionCommandContext
-
Constructor Summary
ConstructorsConstructorDescriptionDistributedCollectionCommandContext(CoreContainer coreContainer, ExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.solr.common.SolrCloseableorg.apache.solr.client.solrj.cloud.SolrCloudManagerorg.apache.solr.common.cloud.ZkStateReaderbooleanWhen this method returnstrue, Overseer specific actions do not make sense and commands should not be doing them.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.cloud.api.collections.CollectionCommandContext
asyncRequestTracker, getAdminPath, getOverseerId, getOverseerStats, offerStateUpdate, offerStateUpdate, submitIntraProcessMessage
-
Constructor Details
-
DistributedCollectionCommandContext
public DistributedCollectionCommandContext(CoreContainer coreContainer, ExecutorService executorService)
-
-
Method Details
-
isDistributedCollectionAPI
public boolean isDistributedCollectionAPI()Description copied from interface:CollectionCommandContextWhen this method returnstrue, Overseer specific actions do not make sense and commands should not be doing them.- Specified by:
isDistributedCollectionAPIin interfaceCollectionCommandContext
-
newShardHandler
- Specified by:
newShardHandlerin interfaceCollectionCommandContext
-
getSolrCloudManager
public org.apache.solr.client.solrj.cloud.SolrCloudManager getSolrCloudManager()- Specified by:
getSolrCloudManagerin interfaceCollectionCommandContext
-
getCoreContainer
- Specified by:
getCoreContainerin interfaceCollectionCommandContext
-
getZkStateReader
public org.apache.solr.common.cloud.ZkStateReader getZkStateReader()- Specified by:
getZkStateReaderin interfaceCollectionCommandContext
-
getDistributedClusterStateUpdater
- Specified by:
getDistributedClusterStateUpdaterin interfaceCollectionCommandContext
-
getCloseableToLatchOn
public org.apache.solr.common.SolrCloseable getCloseableToLatchOn()- Specified by:
getCloseableToLatchOnin interfaceCollectionCommandContext
-
getExecutorService
- Specified by:
getExecutorServicein interfaceCollectionCommandContext
-