Package io.ebean.event.readaudit
Interface ReadAuditLogger
-
public interface ReadAuditLogger
Log that the query was executed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
auditBean(ReadEvent readBean)
Audit a find bean query that returned a bean.void
auditMany(ReadEvent readMany)
Audit a find many query that returned some beans.void
queryPlan(ReadAuditQueryPlan queryPlan)
Called when a new query plan is created.
-
-
-
Method Detail
-
queryPlan
void queryPlan(ReadAuditQueryPlan queryPlan)
Called when a new query plan is created.The query plan has the full sql and logging the query plan separately means that each of the bean and many read events can log the query plan key and not the full sql (reducing the bulk size of the read audit logs).
-
auditBean
void auditBean(ReadEvent readBean)
Audit a find bean query that returned a bean.Finds that did not return a bean are excluded.
-
-