Class LifecyclePolicyUsageCalculator

java.lang.Object
org.elasticsearch.xpack.core.ilm.LifecyclePolicyUsageCalculator

public class LifecyclePolicyUsageCalculator extends Object
A class that can be used to calculate the usages of ILM policies across the cluster. By precomputing all the usages, the class makes a tradeoff by using a little bit more memory to significantly improve the overall processing time.
  • Constructor Details

  • Method Details

    • retrieveCalculatedUsage

      public ItemUsage retrieveCalculatedUsage(String policyName)
      Retrieves the pre-calculated indices, data streams, and composable templates that use the given policy.