Sunday, November 25, 2018

new Terracotta config

<ehcache    
    name="TawnApplicationLookup">  
    <diskStore        
        path=".\cacheStore\TawnApplicationLookup"/>  
    <defaultCache        
        maxEntriesLocalHeap="0"/>  
    <cache        
        name="lowestPrice"        
        eternal="true"        
        maxEntriesLocalHeap="10"        
        maxEntriesInCache="300"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="lowestPrice"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="product"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="coverCode"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="productDteilas"        
        eternal="true"        
        maxEntriesLocalHeap="20"        
        maxEntriesInCache="300"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop/>      
        </terracotta>      
        <searchable            
            keys="false"            
            values="false">          
            <searchAttribute                
                name="productNameArabic"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="productCode"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="descId"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="enDescription"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="productNameEnglish"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="arDescription"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="fetchFromDB"        
        eternal="true"        
        maxEntriesLocalHeap="10"        
        maxEntriesInCache="30"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop                
                timeoutMillis="1000"/>      
        </terracotta>  
    </cache>  
    <cache        
        name="edgeMakeDesc"        
        eternal="true"        
        maxEntriesLocalHeap="10"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="makeID"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="engMakeDesc"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="arbMakeDesc"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="edgeModelDesc"        
        eternal="true"        
        maxEntriesLocalHeap="10"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="makeID"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="modelID"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="eModel"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="aModel"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="providerList"        
        eternal="true"        
        maxEntriesLocalHeap="100"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop                
                timeoutMillis="3000000"/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="eName"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="providerID"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="aName"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="subType"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="type"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="locationCode"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="ebusLables"        
        eternal="true"        
        maxEntriesLocalHeap="10"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="arbDesc"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="engDesc"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="lableCode"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <terracottaConfig        
        url="10.24.60.65:9510"        
        rejoin="true"/>
</ehcache>

Satya

<ehcache    
    name="TawnApplicationTravelDataCache">  
    <diskStore        
        path=".\cacheStore\TawnApplicationTravelDataCache"/>  
    <defaultCache        
        maxEntriesLocalHeap="0"/>  
    <cache        
        name="TravelSalesRequest"        
        eternal="true"        
        maxEntriesLocalHeap="100"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop                
                timeoutMillis="3000000"/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="premium"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="periodTrom"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="periodFrom"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="policyNo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="requestNo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="TravelPolicyDetails"        
        eternal="true"        
        maxEntriesLocalHeap="100"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop                
                timeoutMillis="3000000"/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="noOfChild"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="eName"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="noOfAdults"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="reqNo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="dateOfBirth"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="winterSports"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="creationDate"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="relation"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="premium"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="insurenceType"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="aName"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="destinationType"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="TravelRenewalProspective"        
        eternal="true"        
        maxEntriesLocalHeap="100"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop                
                timeoutMillis="3000000"/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="periodTo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="premium"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="renewalNo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="periodFrom"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="policyNo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <cache        
        name="TravelRenewalPolicyDetails"        
        maxEntriesLocalHeap="100"        
        maxEntriesInCache="30000000"        
        overflowToOffHeap="false"        
        cacheLoaderTimeoutMillis="30000">      
        <persistence            
            strategy="distributed"/>      
        <terracotta            
            consistency="STRONG">          
            <nonstop                
                timeoutMillis="3000000"/>      
        </terracotta>      
        <searchable>          
            <searchAttribute                
                name="noOfChild"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="eName"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="noOfAdults"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="renewalNo"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="dateOfBirth"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="winterSports"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="insuranceType"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="creationDate"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="relation"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="premium"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="aName"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>          
            <searchAttribute                
                name="destinationType"                
                class="attributeExtractor.AttributeExtractorEntity"                
                properties=""/>      
        </searchable>  
    </cache>  
    <terracottaConfig        
        url="10.24.60.65:9510"        
        rejoin="true"/>
</ehcache>