2 Replies Latest reply: Nov 15, 2013 12:09 PM by 980911 RSS

    Setting Expiry Delay for a Distributed Cache

    980911

      I have the below config for my coherence server. What's the default expiry delay and eviction policy? And how do I modify the default settings?

       

      <cache-config>
        <caching-scheme-mapping>
          <cache-mapping>
            <cache-name>TEST_CACHE</cache-name>
            <scheme-name>distributed-extend</scheme-name>
          </cache-mapping>
        </caching-scheme-mapping>

        <caching-schemes>
          <distributed-scheme>
            <scheme-name>distributed-extend</scheme-name>
            <service-name>DistributedCache</service-name>
            <lease-granularity>member</lease-granularity>
            <backing-map-scheme>
              <local-scheme/>
            </backing-map-scheme>
            <autostart>true</autostart>
          </distributed-scheme>
          <proxy-scheme>
            <service-name>ExtendTcpProxyService</service-name>
            <thread-count>5</thread-count>
            <acceptor-config>
            <tcp-acceptor>
              <local-address>
                <address>localhost</address>
                <port>9098</port>
              </local-address>
            </tcp-acceptor>
            </acceptor-config>
            <autostart>true</autostart>
          </proxy-scheme>
        </caching-schemes>
      </cache-config>