Package wt.log4j.jmx
Interface AsyncJDBCAppenderMonitorMBean
- All Superinterfaces:
AppenderMonitorMBean,SelfEmailingMBean
Sends log event data to the database table specified by the LogTable attribute.
If a target database is not specified the current Windchill database is assumed.
Logging is done in a background thread to minimize impact on calling threads.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear log record handling backlog; exposed for such use cases as low-memory condition handling
Supported API: truevoidflush()Flush batched records for this table to database
Supported API: truevoidflushAll()Flush all batched records associated with this database connection (which may be shared with other AsyncJDBCAppenders)
Supported API: truevoidpurge(int ageThresholdInDays) Deletes records older than specified threshold
Supported API: trueMethods inherited from interface wt.log4j.jmx.AppenderMonitorMBean
getAppenderClassname, getLayout, isFilteredMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
clearBacklog
Clear log record handling backlog; exposed for such use cases as low-memory condition handling
Supported API: true -
purge
Deletes records older than specified threshold
Supported API: true- Parameters:
ageThresholdInDays- age (in days) above which records are deleted- Throws:
SQLException
-
flush
Flush batched records for this table to database
Supported API: true -
flushAll
Flush all batched records associated with this database connection (which may be shared with other AsyncJDBCAppenders)
Supported API: true
-