@SuppressWarnings( "unchecked" ) public void configure( final Map properties ) { Logger shoalLogger = getLogger(); host = Utility.getStringProperty( BIND_INTERFACE_ADDRESS.toString(), null, properties ); tcpStartPort = Utility.getIntProperty( TCPSTARTPORT.toString(), 9090, properties ); tcpEndPort = Utility.getIntProperty( TCPENDPORT.toString(), 9200, properties ); final String DEFAULT_MULTICAST_ADDRESS = NetworkUtility.getPreferIpv6Addresses() ? DEFAULT_IPv6_MULTICAST_ADDRESS : DEFAULT_IPv4_MULTICAST_ADDRESS; multicastAddress = Utility.getStringProperty( MULTICASTADDRESS.toString(), DEFAULT_MULTICAST_ADDRESS, properties ); if (!validMulticastAddress(multicastAddress)) { shoalLogger.log(Level.SEVERE, "grizzlynetmgr.invalidmcastaddr", GMSConstants.DEFAULT_MULTICAST_TIME_TO_LIVE, properties); writeSelectorPoolSize = Utility.getIntProperty( MAX_WRITE_SELECTOR_POOL_SIZE.toString(), 30, properties ); virtualUriList = Utility.getStringProperty(DISCOVERY_URI_LIST.toString(), null, properties); if (virtualUriList != null) { nomcastLogger.log(Level.CONFIG, "mgmt.disableUDPmulticast", new Object[]{DISCOVERY_URI_LIST.toString(), virtualUriList});
@SuppressWarnings( "unchecked" ) public void configure( final Map properties ) { Logger shoalLogger = getLogger(); host = Utility.getStringProperty( BIND_INTERFACE_ADDRESS.toString(), null, properties ); tcpStartPort = Utility.getIntProperty( TCPSTARTPORT.toString(), 9090, properties ); tcpEndPort = Utility.getIntProperty( TCPENDPORT.toString(), 9200, properties ); final String DEFAULT_MULTICAST_ADDRESS = NetworkUtility.getPreferIpv6Addresses() ? DEFAULT_IPv6_MULTICAST_ADDRESS : DEFAULT_IPv4_MULTICAST_ADDRESS; multicastAddress = Utility.getStringProperty( MULTICASTADDRESS.toString(), DEFAULT_MULTICAST_ADDRESS, properties ); if (!validMulticastAddress(multicastAddress)) { shoalLogger.log(Level.SEVERE, "grizzlynetmgr.invalidmcastaddr", GMSConstants.DEFAULT_MULTICAST_TIME_TO_LIVE, properties); writeSelectorPoolSize = Utility.getIntProperty( MAX_WRITE_SELECTOR_POOL_SIZE.toString(), 30, properties ); virtualUriList = Utility.getStringProperty(DISCOVERY_URI_LIST.toString(), null, properties); if (virtualUriList != null) { nomcastLogger.log(Level.CONFIG, "mgmt.disableUDPmulticast", new Object[]{DISCOVERY_URI_LIST.toString(), virtualUriList});
public void localConfigure(final Map properties) { maxPoolSize = Utility.getIntProperty(MAX_POOLSIZE.toString(), 50, properties); corePoolSize = Utility.getIntProperty(CORE_POOLSIZE.toString(), 20, properties); keepAliveTime = Utility.getLongProperty(KEEP_ALIVE_TIME.toString(), 60 * 1000, properties); poolQueueSize = Utility.getIntProperty(POOL_QUEUE_SIZE.toString(), 1024 * 4, properties); virtualUriList = Utility.getStringProperty(DISCOVERY_URI_LIST.toString(), null, properties); if (properties != null) { clientSslEngineConfigurator = (SSLEngineConfigurator)properties.get("CLIENT_SSLENGINECONFIGURATOR"); if (clientSslEngineConfigurator != null) { logConfig("gms client ssl engine configurator", clientSslEngineConfigurator); } serverSslEngineConfigurator = (SSLEngineConfigurator)properties.get("SERVER_SSLENGINECONFIGURATOR"); if (serverSslEngineConfigurator != null) { logConfig("gms server ssl engine configurator", serverSslEngineConfigurator); } RENEGOTIATE_ON_CLIENTAUTHWANT = Utility.getBooleanProperty("SSL_RENEGOTIATE_ON_CLIENTAUTHWANT", false, properties); if (clientSslEngineConfigurator != null) { getLogger().config("SSL RENEGOTIATION_ON_CLIENTAUTHWANT=" + RENEGOTIATE_ON_CLIENTAUTHWANT); } } }
public void localConfigure(final Map properties) { maxPoolSize = Utility.getIntProperty(MAX_POOLSIZE.toString(), 50, properties); corePoolSize = Utility.getIntProperty(CORE_POOLSIZE.toString(), 20, properties); keepAliveTime = Utility.getLongProperty(KEEP_ALIVE_TIME.toString(), 60 * 1000, properties); poolQueueSize = Utility.getIntProperty(POOL_QUEUE_SIZE.toString(), 1024 * 4, properties); virtualUriList = Utility.getStringProperty(DISCOVERY_URI_LIST.toString(), null, properties); if (properties != null) { clientSslEngineConfigurator = (SSLEngineConfigurator)properties.get("CLIENT_SSLENGINECONFIGURATOR"); if (clientSslEngineConfigurator != null) { logConfig("gms client ssl engine configurator", clientSslEngineConfigurator); } serverSslEngineConfigurator = (SSLEngineConfigurator)properties.get("SERVER_SSLENGINECONFIGURATOR"); if (serverSslEngineConfigurator != null) { logConfig("gms server ssl engine configurator", serverSslEngineConfigurator); } RENEGOTIATE_ON_CLIENTAUTHWANT = Utility.getBooleanProperty("SSL_RENEGOTIATE_ON_CLIENTAUTHWANT", false, properties); if (clientSslEngineConfigurator != null) { getLogger().config("SSL RENEGOTIATION_ON_CLIENTAUTHWANT=" + RENEGOTIATE_ON_CLIENTAUTHWANT); } } }
public void localConfigure( final Map properties ) { maxPoolSize = Utility.getIntProperty( MAX_POOLSIZE.toString(), 50, properties ); corePoolSize = Utility.getIntProperty( CORE_POOLSIZE.toString(), 20, properties ); keepAliveTime = Utility.getLongProperty( KEEP_ALIVE_TIME.toString(), 60 * 1000, properties ); poolQueueSize = Utility.getIntProperty( POOL_QUEUE_SIZE.toString(), 1024 * 4, properties ); virtualUriList = Utility.getStringProperty( DISCOVERY_URI_LIST.toString(), null, properties ); }
gmsContextProviderTransport = Utility.getStringProperty( "SHOAL_GROUP_COMMUNICATION_PROVIDER", GMSConstants.GROUP_COMMUNICATION_PROVIDER, props );
gmsContextProviderTransport = Utility.getStringProperty( "SHOAL_GROUP_COMMUNICATION_PROVIDER", GMSConstants.GROUP_COMMUNICATION_PROVIDER, props );