src/ehcache.xml
author Harikrishnan Raja <harikrishnan.raja@openbravo.com>
Tue, 14 Sep 2010 13:32:07 +0530
changeset 8389 97a50a6985e3
parent 6701 690d2af86089
permissions -rw-r--r--
Fixes Issue 14229: Delete Parent Organizations
ivan@1738
     1
<?xml version="1.0" encoding="UTF-8"?>
ivan@1738
     2
<!--
ivan@1738
     3
 * ***********************************************************************************
ggi@6701
     4
 * Copyright (C) 2001-2008 Openbravo S.L.U. Licensed under the Apache Software
ivan@1738
     5
 * License version 2.0 You may obtain a copy of the License at
ivan@1738
     6
 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
ivan@1738
     7
 * or agreed to in writing, software distributed under the License is
ivan@1738
     8
 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
ivan@1738
     9
 * KIND, either express or implied. See the License for the specific language
ivan@1738
    10
 * governing permissions and limitations under the License.
ivan@1738
    11
 * ***********************************************************************************
ivan@1738
    12
 -->
ivan@1738
    13
<ehcache>
ivan@1738
    14
ivan@1738
    15
    <diskStore path="java.io.tmpdir"/>
ivan@1738
    16
ivan@1738
    17
    <defaultCache
martin@2240
    18
        maxElementsInMemory="1000"
ivan@1738
    19
        eternal="true"
ivan@1738
    20
        timeToIdleSeconds="3600"
ivan@1738
    21
        timeToLiveSeconds="7200"
ivan@1738
    22
        overflowToDisk="false"
ivan@1738
    23
        diskPersistent="false"
ivan@1738
    24
        diskExpiryThreadIntervalSeconds="120"
ivan@1738
    25
        memoryStoreEvictionPolicy="LRU"
ivan@1738
    26
        />
ivan@1738
    27
        
ivan@1738
    28
    <cache name="com.wakaleo.articles.caching.businessobjects.Country"
ivan@1738
    29
        maxElementsInMemory="300"
ivan@1738
    30
        eternal="true"
ivan@1738
    31
        overflowToDisk="false"
ivan@1738
    32
        />
ivan@1738
    33
ivan@1738
    34
</ehcache>