|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SizeLimitLogRotationPolicyCfg
A server-side interface for querying Size Limit Log Rotation Policy settings.
Rotation policy based on the size of the log file.
Method Summary | |
---|---|
void |
addSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRotationPolicyCfg> listener)
Register to be notified when this Size Limit Log Rotation Policy is changed. |
java.lang.Class<? extends SizeLimitLogRotationPolicyCfg> |
configurationClass()
Gets the configuration class associated with this Size Limit Log Rotation Policy. |
long |
getFileSizeLimit()
Gets the "file-size-limit" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
void |
removeSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRotationPolicyCfg> listener)
Deregister an existing Size 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 |
---|
java.lang.Class<? extends SizeLimitLogRotationPolicyCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface LogRotationPolicyCfg
void addSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRotationPolicyCfg> listener)
listener
- The Size Limit Log Rotation Policy configuration change listener.void removeSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRotationPolicyCfg> listener)
listener
- The Size Limit Log Rotation Policy configuration change listener.long getFileSizeLimit()
Specifies the maximum size that a log file can reach before it is rotated.
java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Size Limit Log Rotation Policy implementation.
getJavaClass
in interface LogRotationPolicyCfg
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |