src/ehcache.xml
author Asier Lostalé <asier.lostale@openbravo.com>
Mon, 07 Mar 2011 09:37:30 +0100
changeset 11064 fc7ec1644bf0
parent 6702 690d2af86089
permissions -rw-r--r--
fixed bug 15870: Do not include same module more than once

When packaging module in obx file, it is checked the same module is not included
more than once.
ivan@1738
     1
<?xml version="1.0" encoding="UTF-8"?>
ivan@1738
     2
<!--
ivan@1738
     3
 * ***********************************************************************************
ggi@6702
     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>