public void registerRule ( Auditable rule ) { _lock . writeLock ( ) . lock ( ) ; try { _auditMap . put ( rule . getName ( ) , new HashMap <> ( ) ) ; } finally { _lock . writeLock ( ) . unlock ( ) ; } }
Registers a rule to be audited .