<?xml version="1.0" encoding="UTF-8"?>
<!-- ~ Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved. ~ 
	~ 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. -->

<hazelcast
		xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.6.xsd"
		xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<group>
		<name>orientdb</name>
		<password>orientdb</password>
	</group>
	<properties>
		<property name="hazelcast.phone.home.enabled">false</property>
		<property name="hazelcast.mancenter.enabled">false</property>
		<property name="hazelcast.memcache.enabled">false</property>
		<property name="hazelcast.rest.enabled">false</property>
		<property name="hazelcast.wait.seconds.before.join">5</property>
		<property name="hazelcast.operation.thread.count">1</property>
		<property name="hazelcast.operation.generic.thread.count">1</property>
		<property name="hazelcast.client.event.thread.count">1</property>
		<property name="hazelcast.event.thread.count">1</property>
		<property name="hazelcast.heartbeat.interval.seconds">5</property>
		<property name="hazelcast.max.no.heartbeat.seconds">30</property>
		<property name="hazelcast.icmp.enabled">true</property>
		<property name="hazelcast.icmp.timeout">5000</property>
		<property name="hazelcast.icmp.ttl">3</property>
		<property name="hazelcast.merge.next.run.delay.seconds">15</property>
		<property name="hazelcast.discovery.enabled">true</property>
	</properties>
	<network>
        <port auto-increment="false">5701</port>
		<join>
    		<multicast enabled="false">
        		<multicast-group>224.2.2.3</multicast-group>
        		<multicast-port>54327</multicast-port>
    		</multicast>
    		<tcp-ip enabled="false">
        		<interface>127.0.0.1</interface>
        		<member-list>
            			<member>127.0.0.1</member>
        		</member-list>
    		</tcp-ip>
			<discovery-strategies>
    			<!-- class equals to the DiscoveryStrategy not the factory! -->
    			<discovery-strategy enabled="true" class="com.hazelcast.aws.AwsDiscoveryStrategy">
    				<properties>
       					<property name="access-key">*********</property>
       					<property name="secret-key">*********</property>
       					<property name="region">ap-south-1</property>
       					<property name="tag-key">type</property>
       					<property name="tag-value">hz-members</property>
       					<property name="hz-port">5701</property>
    				</properties>
    			</discovery-strategy>
			</discovery-strategies>
        		<aws enabled="false">
            		<access-key>******</access-key>
            		<secret-key>******</secret-key>
    				<region>ap-south-1</region>
    				<tag-key>type</tag-key>
    				<tag-value>hz-members</tag-value>
            	</aws>
        </join>
		<interfaces enabled="true">
    			<interface>172.31.*.*</interface>
		</interfaces>
	</network>
	<executor-service>
		<pool-size>16</pool-size>
	</executor-service>
</hazelcast>
