Package org.apache.solr.cloud.autoscaling
Package for classes related to autoscaling
-
Interface Summary Interface Description AutoScaling.Trigger Interface for a Solr trigger.AutoScaling.TriggerEventProcessor Implementation of this interface is used for processing events generated by a trigger.TriggerAction Interface for actions performed in response to a trigger being activatedTriggerListener Implementations of this interface are notified of stages in event processing that they were registered for. -
Class Summary Class Description ActionContext Provides additional context for the TriggerAction such as the trigger instance on which the action is being executed as well as helper methods to pass computed information along to the next actionAutoAddReplicasPlanAction This class configures the parent ComputePlanAction to compute plan only for collections which have autoAddReplicas=true.AutoScaling AutoScaling.TriggerFactory Factory to produce instances ofAutoScaling.Trigger
.AutoScaling.TriggerFactoryImpl Default implementation ofAutoScaling.TriggerFactory
.AutoScalingHandler Handler for /cluster/autoscalingComputePlanAction This class is responsible for using the configured policy and preferences with the hints provided by the trigger event to compute the required cluster operations.ExecutePlanAction This class is responsible for executing cluster operations read from theActionContext
's properties with the key name "operations".HttpTriggerListener Simple HTTP callback that POSTs event data to a URL.InactiveMarkersPlanAction This plan simply removes nodeAdded and nodeLost markers from Zookeeper if their TTL has expired.InactiveShardPlanAction This class checks whether there are shards that have been inactive for a long time (which usually means they are left-overs from shard splitting) and requests their removal after their cleanup TTL period elapsed.IndexSizeTrigger IndexSizeTrigger.IndexSizeEvent LoggingListener Implementation ofTriggerListener
that reports events to a log.MetricTrigger MetricTrigger.MetricBreachedEvent NodeAddedTrigger Trigger for theTriggerEventType.NODEADDED
eventNodeAddedTrigger.NodeAddedEvent NodeLostTrigger Trigger for theTriggerEventType.NODELOST
eventNodeLostTrigger.NodeLostEvent OverseerTriggerThread Overseer thread responsible for reading triggers from zookeeper and adding/removing them fromScheduledTriggers
ScheduledTrigger A trigger which createsTriggerEventType.SCHEDULED
events as per the configured scheduleScheduledTrigger.ScheduledEvent ScheduledTriggers Responsible for scheduling active triggers, starting and stopping them and performing actions when they fireSearchRateTrigger Trigger for theTriggerEventType.SEARCHRATE
event.SearchRateTrigger.SearchRateEvent SystemLogListener This listener saves events to theCollectionAdminParams.SYSTEM_COLL
collection.TriggerActionBase Base class forTriggerAction
implementations.TriggerBase Base class forAutoScaling.Trigger
implementations.TriggerEvent Trigger event.TriggerEvent.Op TriggerEventQueue TriggerListenerBase Base class for implementations ofTriggerListener
.TriggerUtils -
Enum Summary Enum Description IndexSizeTrigger.Unit -
Exception Summary Exception Description TriggerActionException Trigger action-specific exception.TriggerValidationException This class represents errors found when validating trigger configuration.