config._with_server.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quasar-galaxy Show documentation
Show all versions of quasar-galaxy Show documentation
lightweight threads and actors for the JVM.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:c="http://www.springframework.org/schema/c" xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd" default-lazy-init="false" default-autowire="constructor"> <bean id="has-server" class="java.lang.Boolean" c:_0="true"/> <bean id="comm" class="co.paralleluniverse.galaxy.netty.UDPComm"> <constructor-arg name="serverComm" ref="serverComm"/> <constructor-arg name="port" value="${galaxy.port}"/> <property name="sendToServerInsteadOfMulticast" value="false"/> <property name="minimumNodesToMulticast" value="2"/> <property name="multicastGroup"> <bean class="java.net.InetSocketAddress"> <constructor-arg index="0" value="${galaxy.multicast.address}"/> <constructor-arg index="1" value="${galaxy.multicast.port}"/> </bean> </property> <property name="timeout" value="200"/> <property name="resendPeriodMillisecs" value="60"/> <property name="exponentialBackoff" value="true"/> <property name="jitter" value="false"/> <property name="minDelayMicrosecs" value="500"/> <property name="maxDelayMicrosecs" value="2000"/> <property name="maxQueueSize" value="10"/> <property name="maxPacketSize" value="4096"/> <property name="maxRequestOnlyPacketSize" value="2048"/> <property name="workerExecutor"> <bean class="co.paralleluniverse.galaxy.core.ConfigurableThreadPool"> <constructor-arg name="corePoolSize" value="2"/> <constructor-arg name="maximumPoolSize" value="8"/> <constructor-arg name="keepAliveMillis" value="5000"/> <constructor-arg name="maxQueueSize" value="500"/> </bean> </property> <property name="receiveExecutor"> <bean class="org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor"> <constructor-arg index="0" value="8"/> <!-- name="corePoolSize" --> <constructor-arg index="1" value="0"/> <!-- name="maxChannelMemorySize" --> <constructor-arg index="2" value="0"/> <!-- name="maxTotalMemorySize" --> <constructor-arg index="3" value="5000"/> <!-- name="keepAliveTime" --> <constructor-arg index="4" value="MILLISECONDS"/> <!-- name="unit" --> </bean> </property> </bean> <bean id="serverComm" class="co.paralleluniverse.galaxy.netty.TcpServerClientComm"/> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy