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

config._server.xml Maven / Gradle / Ivy

There is a newer version: 0.7.10
Show newest version
<?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="memory" class="co.paralleluniverse.galaxy.core.MainMemory">
        <constructor-arg name="monitoringType" value="METRICS"/> <!-- METRICS/JMX -->
    </bean>
    
    <bean id="comm" class="co.paralleluniverse.galaxy.netty.TcpServerServerComm">
        <constructor-arg name="port" value="${galaxy.port}"/>
        <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>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy