public interface AccessLog extends ConfigBeanProxy, PropertyBag
ConfigBeanProxy.Duck
PropertyBag.Duck
Modifier and Type | Method and Description |
---|---|
String |
getBufferSizeBytes()
Size in bytes of the buffer where access log calls are stored.
|
String |
getCondition() |
String |
getFormat()
Gets the value of the format attribute, which specifies the format
of the access log.
|
String |
getLogToConsoleEnabled()
Specifies whether to display access logs on the console
|
@NotNull String |
getMaxHistoryFiles()
Gets the maximum number of rotated access log files that are to be
kept.
|
String |
getRotationEnabled()
Gets the value of the rotation-enabled attribute.
|
@Min(value=1L) @Max(value=2147483647L) String |
getRotationIntervalInMinutes()
Gets the value of the rotation-interval-in-minutes attribute.
|
String |
getRotationPolicy()
Gets the value of the rotation-policy attribute.
|
String |
getRotationSuffix()
Gets the value of the rotation-suffix attribute.
|
String |
getWriteIntervalSeconds()
Number of seconds before the log is written to the disk.
|
void |
setBufferSizeBytes(String value) |
void |
setCondition(String condition) |
void |
setFormat(String value)
Sets the value of the format attribute.
|
void |
setLogToConsoleEnabled(boolean tf)
specifies whether to display access logs to console
|
void |
setMaxHistoryFiles(String value)
Sets the maximum number of rotated access log files that are to be
kept.
|
void |
setRotationEnabled(String value)
Sets the value of the rotation-enabled attribute.
|
void |
setRotationIntervalInMinutes(String value)
Sets the value of the rotation-interval-in-minutes attribute.
|
void |
setRotationPolicy(String value)
Sets the value of the rotation-policy attribute.
|
void |
setRotationSuffix(String value)
Sets the value of the rotation-suffix attribute.
|
void |
setWriteIntervalSeconds(String value) |
createChild, deepCopy, getParent, getParent
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
String getFormat()
String
void setFormat(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getRotationPolicy()
String
void setRotationPolicy(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the change@Min(value=1L) @Max(value=2147483647L) @Min(value=1L) @Max(value=2147483647L) String getRotationIntervalInMinutes()
String
void setRotationIntervalInMinutes(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getRotationSuffix()
String
void setRotationSuffix(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getRotationEnabled()
String
void setRotationEnabled(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
- if a listener vetoes the changeString getBufferSizeBytes()
void setBufferSizeBytes(String value)
String getWriteIntervalSeconds()
void setWriteIntervalSeconds(String value)
@NotNull @NotNull String getMaxHistoryFiles()
A negative value must be interpreted as no limit.
void setMaxHistoryFiles(String value) throws PropertyVetoException
value
- the maximum number of log filesPropertyVetoException
- if a listener vetoes the changeString getLogToConsoleEnabled()
void setLogToConsoleEnabled(boolean tf)
tf
- true/falseString getCondition()
void setCondition(String condition)
Copyright © 2018. All rights reserved.