|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SizeLimitLogRotationPolicyCfgClient
A client-side interface for reading and modifying Size Limit Log Rotation Policy settings.
Rotation policy based on the size of the log file.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends SizeLimitLogRotationPolicyCfgClient,? extends SizeLimitLogRotationPolicyCfg> |
definition()
Get the configuration definition associated with this Size Limit Log Rotation Policy. |
java.lang.Long |
getFileSizeLimit()
Gets the "file-size-limit" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
void |
setFileSizeLimit(long value)
Sets the "file-size-limit" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends SizeLimitLogRotationPolicyCfgClient,? extends SizeLimitLogRotationPolicyCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogRotationPolicyCfgClient
java.lang.Long getFileSizeLimit()
Specifies the maximum size that a log file can reach before it is rotated.
void setFileSizeLimit(long value) throws IllegalPropertyValueException
Specifies the maximum size that a log file can reach before it is rotated.
value
- The value of the "file-size-limit" property.
IllegalPropertyValueException
- If the new value is invalid.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 LogRotationPolicyCfgClient
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
Specifies the fully-qualified name of the Java class that provides the Size Limit Log Rotation Policy implementation.
setJavaClass
in interface LogRotationPolicyCfgClient
value
- The value of the "java-class" property.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |