Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.configuration
Class ExpirationConfiguration

java.lang.Object
  extended by com.genesyslab.platform.logging.configuration.ExpirationConfiguration

public final class ExpirationConfiguration
extends java.lang.Object

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

ExpirationConfiguration

public ExpirationConfiguration(ExpirationStrategy theStrategy,
                               int theExpire)
Constructor.

Parameters:
theStrategy - The expiration strategy
theExpire - The expiration value

ExpirationConfiguration

public ExpirationConfiguration(ExpirationConfiguration src)
Method Detail

getStrategy

public ExpirationStrategy getStrategy()
The ExpirationStrategy which describes the strategy of expiration.


getExpire

public int getExpire()
The meaning of this property depends on the value of getStrategy(). See ExpirationStrategy for more details.


clone

public java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Overrides:
clone in class java.lang.Object
Returns:
A new object that is a copy of this instance.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

parse

public static ExpirationConfiguration parse(java.lang.String optionVal,
                                            ILogger logger)
                                     throws LoggerException
Throws:
LoggerException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.