Skip to content

Commit

Permalink
Updated docs for Ehcache XML config.
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Feb 26, 2012
1 parent 5850d90 commit 1361588
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/manual/ehcache.rst
Expand Up @@ -61,3 +61,12 @@ It also adds full timers for the cache's ``get`` and ``put`` methods.

The metrics are all scoped to the cache's name.

Configuring via XML
===================

If you're using an ``ehcache.xml`` to configure your cache, you can instrument it by using
``InstrumentedEhcacheFactory``:

.. code-block:: xml
<cacheDecoratorFactory class="com.yammer.metrics.ehcache.InstrumentedEhcacheFactory" />

0 comments on commit 1361588

Please sign in to comment.