Class DistributedCollectionCommandContext
- java.lang.Object
-
- org.apache.solr.cloud.api.collections.DistributedCollectionCommandContext
-
- All Implemented Interfaces:
CollectionCommandContext
public class DistributedCollectionCommandContext extends Object implements CollectionCommandContext
-
-
Constructor Summary
Constructors Constructor Description DistributedCollectionCommandContext(CoreContainer coreContainer, ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.common.SolrCloseable
getCloseableToLatchOn()
CoreContainer
getCoreContainer()
DistributedClusterStateUpdater
getDistributedClusterStateUpdater()
ExecutorService
getExecutorService()
org.apache.solr.client.solrj.cloud.SolrCloudManager
getSolrCloudManager()
org.apache.solr.common.cloud.ZkStateReader
getZkStateReader()
boolean
isDistributedCollectionAPI()
When this method returnstrue
, Overseer specific actions do not make sense and commands should not be doing them.ShardHandler
newShardHandler()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.cloud.api.collections.CollectionCommandContext
asyncRequestTracker, getAdminPath, getOverseerId, getOverseerStats, offerStateUpdate, offerStateUpdate, submitIntraProcessMessage
-
-
-
-
Constructor Detail
-
DistributedCollectionCommandContext
public DistributedCollectionCommandContext(CoreContainer coreContainer, ExecutorService executorService)
-
-
Method Detail
-
isDistributedCollectionAPI
public boolean isDistributedCollectionAPI()
Description copied from interface:CollectionCommandContext
When this method returnstrue
, Overseer specific actions do not make sense and commands should not be doing them.- Specified by:
isDistributedCollectionAPI
in interfaceCollectionCommandContext
-
newShardHandler
public ShardHandler newShardHandler()
- Specified by:
newShardHandler
in interfaceCollectionCommandContext
-
getSolrCloudManager
public org.apache.solr.client.solrj.cloud.SolrCloudManager getSolrCloudManager()
- Specified by:
getSolrCloudManager
in interfaceCollectionCommandContext
-
getCoreContainer
public CoreContainer getCoreContainer()
- Specified by:
getCoreContainer
in interfaceCollectionCommandContext
-
getZkStateReader
public org.apache.solr.common.cloud.ZkStateReader getZkStateReader()
- Specified by:
getZkStateReader
in interfaceCollectionCommandContext
-
getDistributedClusterStateUpdater
public DistributedClusterStateUpdater getDistributedClusterStateUpdater()
- Specified by:
getDistributedClusterStateUpdater
in interfaceCollectionCommandContext
-
getCloseableToLatchOn
public org.apache.solr.common.SolrCloseable getCloseableToLatchOn()
- Specified by:
getCloseableToLatchOn
in interfaceCollectionCommandContext
-
getExecutorService
public ExecutorService getExecutorService()
- Specified by:
getExecutorService
in interfaceCollectionCommandContext
-
-