Class SoftEvictionParams

java.lang.Object
com.atlassian.confluence.rest.v2.api.model.SoftEvictionParams

@ExperimentalApi public class SoftEvictionParams extends Object
Describes how Soft Synchrony Eviction should be performed.
Since:
9.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    SoftEvictionParams(int thresholdHours, int limit)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of pages, which should be cleaned from Synchrony history by this soft job invocation.
    int
    Soft job will not remove synchrony history for a page, which has been modified in recent specified amount of hours.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SoftEvictionParams

      public SoftEvictionParams(int thresholdHours, int limit)
  • Method Details

    • getThresholdHours

      public int getThresholdHours()
      Soft job will not remove synchrony history for a page, which has been modified in recent specified amount of hours. This param allows to control how intrusive vs. effective soft job is.
    • getLimit

      public int getLimit()
      Number of pages, which should be cleaned from Synchrony history by this soft job invocation.