|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileBasedAccessLogPublisherCfg
A server-side interface for querying File Based Access Log Publisher settings.
File Based Access Log Publishers publish access messages to the file system.
Method Summary | |
---|---|
void |
addFileBasedAccessChangeListener(ConfigurationChangeListener<FileBasedAccessLogPublisherCfg> listener)
Register to be notified when this File Based Access Log Publisher is changed. |
java.lang.Class<? extends FileBasedAccessLogPublisherCfg> |
configurationClass()
Gets the configuration class associated with this File Based Access Log Publisher. |
long |
getBufferSize()
Gets the "buffer-size" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
java.lang.String |
getLogFile()
Gets the "log-file" property. |
java.lang.String |
getLogFilePermissions()
Gets the "log-file-permissions" property. |
int |
getQueueSize()
Gets the "queue-size" property. |
java.util.SortedSet<java.lang.String> |
getRetentionPolicy()
Gets the "retention-policy" property. |
java.util.SortedSet<DN> |
getRetentionPolicyDNs()
Gets the "retention-policy" property as a set of DNs. |
java.util.SortedSet<java.lang.String> |
getRotationPolicy()
Gets the "rotation-policy" property. |
java.util.SortedSet<DN> |
getRotationPolicyDNs()
Gets the "rotation-policy" property as a set of DNs. |
long |
getTimeInterval()
Gets the "time-interval" property. |
boolean |
isAppend()
Gets the "append" property. |
boolean |
isAsynchronous()
Gets the "asynchronous" property. |
boolean |
isAutoFlush()
Gets the "auto-flush" property. |
void |
removeFileBasedAccessChangeListener(ConfigurationChangeListener<FileBasedAccessLogPublisherCfg> listener)
Deregister an existing File Based Access Log Publisher configuration change listener. |
Methods inherited from interface org.opends.server.admin.std.server.AccessLogPublisherCfg |
---|
addAccessChangeListener, isSuppressInternalOperations, isSuppressSynchronizationOperations, removeAccessChangeListener |
Methods inherited from interface org.opends.server.admin.std.server.LogPublisherCfg |
---|
addChangeListener, isEnabled, removeChangeListener |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends FileBasedAccessLogPublisherCfg> configurationClass()
configurationClass
in interface AccessLogPublisherCfg
configurationClass
in interface Configuration
configurationClass
in interface LogPublisherCfg
void addFileBasedAccessChangeListener(ConfigurationChangeListener<FileBasedAccessLogPublisherCfg> listener)
listener
- The File Based Access Log Publisher configuration change listener.void removeFileBasedAccessChangeListener(ConfigurationChangeListener<FileBasedAccessLogPublisherCfg> listener)
listener
- The File Based Access Log Publisher configuration change listener.boolean isAppend()
Specifies whether to append to existing log files.
boolean isAsynchronous()
Indicates whether the File Based Access Log Publisher will publish records asynchronously.
boolean isAutoFlush()
Specifies whether to flush the writer after every log record.
If the asynchronous writes option is used, the writer is flushed after all the log records in the queue are written.
long getBufferSize()
Specifies the log file buffer size.
java.lang.String getJavaClass()
The fully-qualified name of the Java class that provides the File Based Access Log Publisher implementation.
getJavaClass
in interface AccessLogPublisherCfg
java.lang.String getLogFile()
The file name to use for the log files generated by the File Based Access Log Publisher. The path to the file is relative to the server root.
java.lang.String getLogFilePermissions()
The UNIX permissions of the log files created by this File Based Access Log Publisher.
int getQueueSize()
The maximum number of log records that can be stored in the asynchronous queue.
java.util.SortedSet<java.lang.String> getRetentionPolicy()
The retention policy to use for the File Based Access Log Publisher .
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
java.util.SortedSet<DN> getRetentionPolicyDNs()
The retention policy to use for the File Based Access Log Publisher .
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
java.util.SortedSet<java.lang.String> getRotationPolicy()
The rotation policy to use for the File Based Access Log Publisher .
When multiple policies are used, rotation will occur if any policy's conditions are met.
java.util.SortedSet<DN> getRotationPolicyDNs()
The rotation policy to use for the File Based Access Log Publisher .
When multiple policies are used, rotation will occur if any policy's conditions are met.
long getTimeInterval()
Specifies the interval at which to check whether the log files need to be rotated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |