Logback: the reliable, generic, fast and flexible logging framework.
Copyright (C) 1999-2011, QOS.ch. All rights reserved.
This program and the accompanying materials are dual-licensed under
either the terms of the Eclipse Public License v1.0 as published by
the Eclipse Foundation
or (per the licensee's choosing)
under the terms of the GNU Lesser General Public License version 2.1
as published by the Free Software Foundation.
An interface for tracking cyclic buffers by key.
Set the maximum number of tracked buffers. After reaching the maximum number of
buffers, the creation of a new buffer implies the removal of the least recently
Get the cyclic buffer identified by 'key', updating its timestamp in the process.
If there is no such buffer, create it. If the current number of buffers is
above or equal to 'maxNumBuffers' then the least recently accessed buffer is removed.
Remove a cyclic buffer identified by its key.
Clear (and detach) buffers which are stale.
The size of the internal map/list/collection holding the cyclic buffers.
- size of internal collection