public interface SizeLimitLogRotationPolicyCfgClient extends LogRotationPolicyCfgClient
Rotation policy based on the size of the log file.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends SizeLimitLogRotationPolicyCfgClient,? extends SizeLimitLogRotationPolicyCfg> |
definition()
Get the configuration definition associated with this Size Limit Log Rotation Policy.
|
Long |
getFileSizeLimit()
Gets the "file-size-limit" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
setFileSizeLimit(long value)
Sets the "file-size-limit" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
commit, properties
ManagedObjectDefinition<? extends SizeLimitLogRotationPolicyCfgClient,? extends SizeLimitLogRotationPolicyCfg> definition()
definition
in interface ConfigurationClient
definition
in interface LogRotationPolicyCfgClient
Long getFileSizeLimit()
Specifies the maximum size that a log file can reach before it is rotated.
void setFileSizeLimit(long value) throws PropertyException
Specifies the maximum size that a log file can reach before it is rotated.
value
- The value of the "file-size-limit" property.PropertyException
- If the new value is invalid.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(String value) throws PropertyException
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.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.