Class OfferLogCompactionConfiguration
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.rest.OfferLogCompactionConfiguration
-
public class OfferLogCompactionConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OfferLogCompactionConfiguration(long expirationValue, java.time.temporal.ChronoUnit expirationUnit, int compactionSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getCompactionSize()
java.time.temporal.ChronoUnit
getExpirationUnit()
long
getExpirationValue()
int
hashCode()
java.lang.String
toString()
void
validateConf()
-
-
-
Method Detail
-
validateConf
public void validateConf()
-
getExpirationValue
public long getExpirationValue()
-
getExpirationUnit
public java.time.temporal.ChronoUnit getExpirationUnit()
-
getCompactionSize
public int getCompactionSize()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-