<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~ JBoss, a division of Red Hat                                              ~
  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
  ~ contributors as indicated by the @authors tag. See the                    ~
  ~ copyright.txt in the distribution for a full listing of                   ~
  ~ individual contributors.                                                  ~
  ~                                                                           ~
  ~ This is free software; you can redistribute it and/or modify it           ~
  ~ under the terms of the GNU Lesser General Public License as               ~
  ~ published by the Free Software Foundation; either version 2.1 of          ~
  ~ the License, or (at your option) any later version.                       ~
  ~                                                                           ~
  ~ This software is distributed in the hope that it will be useful,          ~
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
  ~ Lesser General Public License for more details.                           ~
  ~                                                                           ~
  ~ You should have received a copy of the GNU Lesser General Public          ~
  ~ License along with this software; if not, write to the Free               ~
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

<ehcache>

   <!-- Sets the path to the directory where cache .data files are created.

        If the path is a Java System Property it is replaced by
        its value in the running VM.

        The following properties are translated:
        user.home - User's home directory
        user.dir - User's current working directory
        java.io.tmpdir - Default temp file path -->
   <diskStore path="java.io.tmpdir/instance"/>


   <!--Default Cache configuration. These will applied to caches programmatically created through
   the CacheManager.

   The following attributes are required for defaultCache:

   maxInMemory       - Sets the maximum number of objects that will be created in memory
   eternal           - Sets whether elements are eternal. If eternal,  timeouts are ignored and the element
                       is never expired.
   timeToIdleSeconds - Sets the time to idle for an element before it expires. Is only used
                       if the element is not eternal. Idle time is now - last accessed time
   timeToLiveSeconds - Sets the time to live for an element before it expires. Is only used
                       if the element is not eternal. TTL is now - creation time
   overflowToDisk    - Sets whether elements can overflow to disk when the in-memory cache
                       has reached the maxInMemory limit.

   -->
   <defaultCache
      maxElementsInMemory="10000"
      eternal="false"
      timeToIdleSeconds="1800"
      timeToLiveSeconds="1800"
      overflowToDisk="false"
      />
</ehcache>
