Package fr.gouv.vitam.storage.offers.rest

# Class OfferLogCompactionConfiguration

java.lang.Object
fr.gouv.vitam.storage.offers.rest.OfferLogCompactionConfiguration

public class OfferLogCompactionConfiguration extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OfferLogCompactionConfiguration(long expirationValue, ChronoUnit expirationUnit, int compactionSize)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `int`
  `getCompactionSize()`
  `ChronoUnit`
  `getExpirationUnit()`
  `long`
  `getExpirationValue()`
  `int`
  `hashCode()`
  `String`
  `toString()`
  `void`
  `validateConf()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### OfferLogCompactionConfiguration

    public OfferLogCompactionConfiguration(long expirationValue, ChronoUnit expirationUnit, int compactionSize)

- ## Method Details

  - ### validateConf

    public void validateConf()

  - ### getExpirationValue

    public long getExpirationValue()

  - ### getExpirationUnit

    public ChronoUnit getExpirationUnit()

  - ### getCompactionSize

    public int getCompactionSize()

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`