Class ComputePlanAction

  • All Implemented Interfaces:
    Closeable, AutoCloseable, TriggerAction
    Direct Known Subclasses:
    AutoAddReplicasPlanAction

    public class ComputePlanAction
    extends TriggerActionBase
    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.

    The cluster operations computed here are put into the ActionContext's properties with the key name "operations". The value is a List of SolrRequest objects.