Copyright (C) 2014 Philip Helger (www.helger.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The class handles all audit items
ValueEnforcer.notNull (aPerformer, "Performer");
ValueEnforcer.notNull (aAuditItem, "AuditItem");
When using this auditor, it is important to call this stop method before
shutdown. It avoids further queuing of objects and waits until all items
are handled. This method blocks until all remaining objects are handled.
s_aLogger.info ("Stopping auditor queues with " + nQueueLength + " items");