Package for classes related to autoscaling
Interface Summary Interface Description AutoScaling.TriggerInterface for a Solr trigger. AutoScaling.TriggerEventProcessorImplementation of this interface is used for processing events generated by a trigger. TriggerActionInterface for actions performed in response to a trigger being activated TriggerListenerImplementations of this interface are notified of stages in event processing that they were registered for.
Class Summary Class Description ActionContextProvides 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 action AutoAddReplicasPlanActionThis class configures the parent ComputePlanAction to compute plan only for collections which have autoAddReplicas=true. AutoScaling AutoScaling.TriggerFactoryFactory to produce instances of
AutoScaling.TriggerFactoryImplDefault implementation of
AutoScalingHandlerHandler for /cluster/autoscaling ComputePlanActionThis class is responsible for using the configured policy and preferences with the hints provided by the trigger event to compute the required cluster operations. ExecutePlanActionThis class is responsible for executing cluster operations read from the
ActionContext's properties with the key name "operations".
HttpTriggerListenerSimple HTTP callback that POSTs event data to a URL. InactiveMarkersPlanActionThis plan simply removes nodeAdded and nodeLost markers from Zookeeper if their TTL has expired. InactiveShardPlanActionThis 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 LoggingListenerImplementation of
TriggerListenerthat reports events to a log.
MetricTrigger MetricTrigger.MetricBreachedEvent NodeAddedTriggerTrigger for the
NodeAddedTrigger.NodeAddedEvent NodeLostTriggerTrigger for the
NodeLostTrigger.NodeLostEvent OverseerTriggerThreadOverseer thread responsible for reading triggers from zookeeper and adding/removing them from
ScheduledTriggerA trigger which creates
TriggerEventType.SCHEDULEDevents as per the configured schedule
ScheduledTrigger.ScheduledEvent ScheduledTriggersResponsible for scheduling active triggers, starting and stopping them and performing actions when they fire SearchRateTriggerTrigger for the
SearchRateTrigger.SearchRateEvent SystemLogListenerThis listener saves events to the
TriggerActionBaseBase class for
TriggerBaseBase class for
TriggerEventTrigger event. TriggerEvent.Op TriggerEventQueue TriggerListenerBaseBase class for implementations of
Enum Summary Enum Description IndexSizeTrigger.Unit
Exception Summary Exception Description TriggerActionExceptionTrigger action-specific exception. TriggerValidationExceptionThis class represents errors found when validating trigger configuration.