Examples of AuditRemovalListener


Examples of com.cetsoft.caudit.common.AuditRemovalListener

   * @throws InterruptedException the interrupted exception
   */
  public static void main(String[] args) throws InterruptedException {
    final Stopwatch stopwatch = Audits.getBasicStopwatch(BASIC_STOPWATCH_ID);
    stopwatch.setShouldReset(false);
    stopwatch.setRemovalListener(new AuditRemovalListener() {
      public void onRemoval(AuditEvent auditEvent) {
        System.out.println(auditEvent);
      }
    });
    Audits.unmapAudit(stopwatch);
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.