|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.logging.configuration.ExpirationConfiguration
public final class ExpirationConfiguration
This class is used for configuring the expiration of log files (and log segments).
Constructor Summary | |
---|---|
ExpirationConfiguration(ExpirationConfiguration src)
|
|
ExpirationConfiguration(ExpirationStrategy theStrategy,
int theExpire)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
boolean |
equals(java.lang.Object obj)
|
int |
getExpire()
The meaning of this property depends on the value of getStrategy() . |
ExpirationStrategy |
getStrategy()
The ExpirationStrategy which describes the
strategy of expiration. |
int |
hashCode()
|
static ExpirationConfiguration |
parse(java.lang.String optionVal,
ILogger logger)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExpirationConfiguration(ExpirationStrategy theStrategy, int theExpire)
theStrategy
- The expiration strategytheExpire
- The expiration valuepublic ExpirationConfiguration(ExpirationConfiguration src)
Method Detail |
---|
public ExpirationStrategy getStrategy()
ExpirationStrategy
which describes the
strategy of expiration.
public int getExpire()
getStrategy()
. See ExpirationStrategy
for more details.
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static ExpirationConfiguration parse(java.lang.String optionVal, ILogger logger) throws LoggerException
LoggerException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |