org.opends.server.admin.std.server
Interface TimeLimitLogRotationPolicyCfg

All Superinterfaces:
Configuration, LogRotationPolicyCfg

public interface TimeLimitLogRotationPolicyCfg
extends LogRotationPolicyCfg

A server-side interface for querying Time Limit Log Rotation Policy settings.

Rotation policy based on the time since last rotation.


Method Summary
 void addTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
          Register to be notified when this Time Limit Log Rotation Policy is changed.
 java.lang.Class<? extends TimeLimitLogRotationPolicyCfg> configurationClass()
          Gets the configuration class associated with this Time Limit Log Rotation Policy.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 long getRotationInterval()
          Gets the "rotation-interval" property.
 void removeTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
          Deregister an existing Time Limit Log Rotation Policy configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.LogRotationPolicyCfg
addChangeListener, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends TimeLimitLogRotationPolicyCfg> configurationClass()
Gets the configuration class associated with this Time Limit Log Rotation Policy.

Specified by:
configurationClass in interface Configuration
Specified by:
configurationClass in interface LogRotationPolicyCfg
Returns:
Returns the configuration class associated with this Time Limit Log Rotation Policy.

addTimeLimitChangeListener

void addTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
Register to be notified when this Time Limit Log Rotation Policy is changed.

Parameters:
listener - The Time Limit Log Rotation Policy configuration change listener.

removeTimeLimitChangeListener

void removeTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
Deregister an existing Time Limit Log Rotation Policy configuration change listener.

Parameters:
listener - The Time Limit Log Rotation Policy configuration change listener.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the Time Limit Log Rotation Policy implementation.

Specified by:
getJavaClass in interface LogRotationPolicyCfg
Returns:
Returns the value of the "java-class" property.

getRotationInterval

long getRotationInterval()
Gets the "rotation-interval" property.

Specifies the time interval between rotations.

Returns:
Returns the value of the "rotation-interval" property.