All Downloads are FREE. Search and download functionalities are using the official Maven repository.

herence.identity.0.6.source-code.identity-cache-config.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Copyright 2009 Aleksandar Seovic
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<cache-config xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config">

  <scope-name>com.seovic.identity</scope-name>

  <defaults>
  </defaults>

  <caching-scheme-mapping>
    <cache-mapping>
      <cache-name>sequences</cache-name>
      <scheme-name>sequences-scheme</scheme-name>
    </cache-mapping>
  </caching-scheme-mapping>

  <caching-schemes>

    <distributed-scheme>
      <scheme-name>sequences-scheme</scheme-name>
      <service-name>SequencesCacheService</service-name>
      <serializer>
        <instance>
          <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
          <init-params>
            <init-param>
              <param-type>string</param-type>
              <param-value>identity-pof-config.xml</param-value>
            </init-param>
          </init-params>
        </instance>
      </serializer>
      <backing-map-scheme>
        <local-scheme>
          <scheme-ref>unlimited-backing-map</scheme-ref>
        </local-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
    </distributed-scheme>

    <!--
      Backing map scheme definition with no size limit or time-based eviction
    -->
    <local-scheme>
      <scheme-name>unlimited-backing-map</scheme-name>
      <unit-calculator>BINARY</unit-calculator>
    </local-scheme>

  </caching-schemes>

</cache-config>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy