HHH-11268 Upgrade Infinispan to version 8.2.5
This commit is contained in:
parent
fe3957df0c
commit
247e6085a4
|
@ -597,7 +597,7 @@ public class InfinispanRegionFactory implements RegionFactory {
|
|||
}
|
||||
else if ( (suffixLoc = key.indexOf( MAX_ENTRIES_SUFFIX )) != -1 ) {
|
||||
builder = getOrCreateConfig( prefixLoc, key, suffixLoc );
|
||||
builder.eviction().maxEntries( Long.parseLong(value) );
|
||||
builder.eviction().size( Long.parseLong(value) );
|
||||
}
|
||||
else if ( (suffixLoc = key.indexOf( LIFESPAN_SUFFIX )) != -1 ) {
|
||||
builder = getOrCreateConfig( prefixLoc, key, suffixLoc );
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
-->
|
||||
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="urn:infinispan:config:8.0"
|
||||
xsi:schemaLocation="urn:infinispan:config:8.0 http://www.infinispan.org/schemas/infinispan-config-8.0.xsd">
|
||||
xmlns="urn:infinispan:config:8.2"
|
||||
xsi:schemaLocation="urn:infinispan:config:8.2 http://www.infinispan.org/schemas/infinispan-config-8.2.xsd">
|
||||
|
||||
<!-- This configuration is suitable for non-clustered environments, where only single instance accesses the DB -->
|
||||
<cache-container name="SampleCacheManager" statistics="false" default-cache="the-default-cache" shutdown-hook="DEFAULT">
|
||||
|
@ -18,14 +18,14 @@
|
|||
<!-- Default configuration is appropriate for entity/collection caching. -->
|
||||
<local-cache-configuration name="entity" simple-cache="true" statistics="false" statistics-available="false">
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</local-cache-configuration>
|
||||
|
||||
<!-- A config appropriate for query caching. Does not replicate queries. -->
|
||||
<local-cache-configuration name="local-query" simple-cache="true" statistics="false" statistics-available="false">
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</local-cache-configuration>
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
-->
|
||||
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="urn:infinispan:config:8.0"
|
||||
xsi:schemaLocation="urn:infinispan:config:8.0 http://www.infinispan.org/schemas/infinispan-config-8.0.xsd">
|
||||
xmlns="urn:infinispan:config:8.2"
|
||||
xsi:schemaLocation="urn:infinispan:config:8.2 http://www.infinispan.org/schemas/infinispan-config-8.2.xsd">
|
||||
|
||||
<jgroups>
|
||||
<stack-file name="hibernate-jgroups" path="${hibernate.cache.infinispan.jgroups_cfg:default-configs/default-jgroups-tcp.xml}"/>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<invalidation-cache-configuration name="entity" mode="SYNC" remote-timeout="20000" statistics="false" statistics-available="false">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</invalidation-cache-configuration>
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
|||
<local-cache-configuration name="local-query" statistics="false" statistics-available="false">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</local-cache-configuration>
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
|||
<replicated-cache-configuration name="replicated-query" mode="ASYNC" statistics="false" statistics-available="false">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</replicated-cache-configuration>
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
-->
|
||||
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="urn:infinispan:config:7.2"
|
||||
xsi:schemaLocation="urn:infinispan:config:7.2 http://www.infinispan.org/schemas/infinispan-config-7.2.xsd">
|
||||
xmlns="urn:infinispan:config:8.2"
|
||||
xsi:schemaLocation="urn:infinispan:config:8.2 http://www.infinispan.org/schemas/infinispan-config-8.2.xsd">
|
||||
|
||||
<jgroups>
|
||||
<stack-file name="hibernate-jgroups" path="${hibernate.cache.infinispan.jgroups_cfg:default-configs/default-jgroups-tcp.xml}"/>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<invalidation-cache name="entity" mode="SYNC" remote-timeout="20000">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</invalidation-cache>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
|||
<invalidation-cache name="immutable-entity" mode="SYNC" remote-timeout="20000">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE"/>
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</invalidation-cache>
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
|||
<local-cache name="local-query">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</local-cache>
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
|||
<replicated-cache name="replicated-query" mode="ASYNC">
|
||||
<locking concurrency-level="1000" acquire-timeout="15000"/>
|
||||
<transaction mode="NONE" />
|
||||
<eviction max-entries="10000" strategy="LRU"/>
|
||||
<eviction size="10000" strategy="LRU"/>
|
||||
<expiration max-idle="100000" interval="5000"/>
|
||||
</replicated-cache>
|
||||
|
||||
|
|
Loading…
Reference in New Issue