Interface EnsureOakIndexManager


public interface EnsureOakIndexManager
OSGi Service interface for managing Ensure Oak Indexes.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    ensure(boolean force, String ensureDefinitionsPath)
    Applies un-applied Ensure Oak Index definitions whose ensure-definition.path @Property is a parameter.
    int
    ensureAll(boolean force)
    Applies all un-applied Ensure Oak Index definitions.
  • Method Details

    • ensureAll

      @Description("Ensure all Ensure Oak Index Definitions") int ensureAll(@Name("force") boolean force)
      Applies all un-applied Ensure Oak Index definitions.
      Parameters:
      force - true to re-apply Ensure Oak Indexes that have been marked as applied, false to skip.
      Returns:
      the number of ensure oak indexes processed
    • ensure

      @Description("Ensure select Ensure Oak Index Definitions") int ensure(@Name("force") boolean force, @Name("ensureDefinitionsPath") String ensureDefinitionsPath)
      Applies un-applied Ensure Oak Index definitions whose ensure-definition.path @Property is a parameter.
      Parameters:
      force - true to re-apply Ensure Oak Indexes that have been marked as applied, false to skip.
      ensureDefinitionsPath - the path of the Ensure Oak Index Definitions to apply.
      Returns:
      the number of ensure oak indexes processed