IDEMPIERE-2868:Platform Upgrade for r3/Hazelcast 3.5.x

This commit is contained in:
hieplq 2015-10-25 11:30:25 +07:00
parent c90ad788f8
commit 9abef3e419
4 changed files with 23 additions and 14 deletions

View File

@ -21,7 +21,7 @@
- no hazelcast.xml if present - no hazelcast.xml if present
--> -->
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd" <hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.5.xsd"
xmlns="http://www.hazelcast.com/schema/config" xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group> <group>
@ -117,7 +117,7 @@
Possible values: Possible values:
BINARY (default): keys and values will be stored as binary data BINARY (default): keys and values will be stored as binary data
OBJECT : values will be stored in their object forms OBJECT : values will be stored in their object forms
OFFHEAP : values will be stored in non-heap region of JVM NATIVE : values will be stored in non-heap region of JVM
--> -->
<in-memory-format>BINARY</in-memory-format> <in-memory-format>BINARY</in-memory-format>
@ -183,7 +183,7 @@
the policy set here. Default policy is PutIfAbsentMapMergePolicy the policy set here. Default policy is PutIfAbsentMapMergePolicy
There are built-in merge policies such as There are built-in merge policies such as
com.hazelcast.map.merge.PassThroughMergePolicy; entry will be added if there is no existing entry for the key. com.hazelcast.map.merge.PassThroughMergePolicy; entry will be overwritten if merging entry exists for the key.
com.hazelcast.map.merge.PutIfAbsentMapMergePolicy ; entry will be added if the merging entry doesn't exist in the cluster. com.hazelcast.map.merge.PutIfAbsentMapMergePolicy ; entry will be added if the merging entry doesn't exist in the cluster.
com.hazelcast.map.merge.HigherHitsMapMergePolicy ; entry with the higher hits wins. com.hazelcast.map.merge.HigherHitsMapMergePolicy ; entry with the higher hits wins.
com.hazelcast.map.merge.LatestUpdateMapMergePolicy ; entry with the latest update wins. com.hazelcast.map.merge.LatestUpdateMapMergePolicy ; entry with the latest update wins.
@ -197,11 +197,6 @@
<value-collection-type>SET</value-collection-type> <value-collection-type>SET</value-collection-type>
</multimap> </multimap>
<multimap name="default">
<backup-count>1</backup-count>
<value-collection-type>SET</value-collection-type>
</multimap>
<list name="default"> <list name="default">
<backup-count>1</backup-count> <backup-count>1</backup-count>
</list> </list>
@ -226,6 +221,20 @@
<async-backup-count>0</async-backup-count> <async-backup-count>0</async-backup-count>
</semaphore> </semaphore>
<reliable-topic name="default">
<read-batch-size>10</read-batch-size>
<topic-overload-policy>BLOCK</topic-overload-policy>
<statistics-enabled>true</statistics-enabled>
</reliable-topic>
<ringbuffer name="default">
<capacity>10000</capacity>
<backup-count>1</backup-count>
<async-backup-count>0</async-backup-count>
<time-to-live-seconds>30</time-to-live-seconds>
<in-memory-format>BINARY</in-memory-format>
</ringbuffer>
<serialization> <serialization>
<portable-version>0</portable-version> <portable-version>0</portable-version>
</serialization> </serialization>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry exported="true" kind="lib" path="hazelcast-3.3.1.jar"/>
<classpathentry exported="true" kind="lib" path="hazelcast-cloud-3.3.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="hazelcast-3.5.3.jar"/>
<classpathentry kind="lib" path="hazelcast-cloud-3.5.3.jar"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

View File

@ -26,7 +26,7 @@ Import-Package: javax.crypto,
org.w3c.dom org.w3c.dom
DynamicImport-Package: * DynamicImport-Package: *
Bundle-ClassPath: ., Bundle-ClassPath: .,
hazelcast-3.3.1.jar, hazelcast-3.5.3.jar,
hazelcast-cloud-3.3.1.jar hazelcast-cloud-3.5.3.jar
Service-Component: OSGI-INF/clusterservice.xml, OSGI-INF/cacheservice.xml, OSGI-INF/messageservice.xml Service-Component: OSGI-INF/clusterservice.xml, OSGI-INF/cacheservice.xml, OSGI-INF/messageservice.xml
Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-RequiredExecutionEnvironment: JavaSE-1.7

View File

@ -5,6 +5,6 @@ bin.includes = META-INF/,\
OSGI-INF/cacheservice.xml,\ OSGI-INF/cacheservice.xml,\
OSGI-INF/messageservice.xml,\ OSGI-INF/messageservice.xml,\
OSGI-INF/,\ OSGI-INF/,\
hazelcast-3.3.1.jar,\ hazelcast-3.5.3.jar,\
hazelcast-cloud-3.3.1.jar hazelcast-cloud-3.5.3.jar
source.. = src/ source.. = src/