String jettyPath = config().getJettyPath();
jettyPath = conCfg.getJettyPath(); jettyHost = getProperty(IGNITE_JETTY_HOST); jettyPort = intValue(IGNITE_JETTY_PORT, null);
/** * Creates client connection configuration by copying all properties from * given configuration. * * @param cfg Client configuration. */ public ConnectorConfiguration(ConnectorConfiguration cfg) { assert cfg != null; msgInterceptor = cfg.getMessageInterceptor(); threadPoolSize = cfg.getThreadPoolSize(); idleTimeout = cfg.getIdleTimeout(); jettyPath = cfg.getJettyPath(); portRange = cfg.getPortRange(); secretKey = cfg.getSecretKey(); directBuf = cfg.isDirectBuffer(); host = cfg.getHost(); noDelay = cfg.isNoDelay(); port = cfg.getPort(); rcvBufSize = cfg.getReceiveBufferSize(); selectorCnt = cfg.getSelectorCount(); sndBufSize = cfg.getSendBufferSize(); sndQueueLimit = cfg.getSendQueueLimit(); sslClientAuth = cfg.isSslClientAuth(); sslCtxFactory = cfg.getSslContextFactory(); sslEnabled = cfg.isSslEnabled(); sslFactory = cfg.getSslFactory(); idleQryCurTimeout = cfg.getIdleQueryCursorTimeout(); idleQryCurCheckFreq = cfg.getIdleQueryCursorCheckFrequency(); }
jettyPath = conCfg.getJettyPath(); jettyHost = getProperty(IGNITE_JETTY_HOST); jettyPort = intValue(IGNITE_JETTY_PORT, null);
/** * Creates client connection configuration by copying all properties from * given configuration. * * @param cfg Client configuration. */ public ConnectorConfiguration(ConnectorConfiguration cfg) { assert cfg != null; msgInterceptor = cfg.getMessageInterceptor(); threadPoolSize = cfg.getThreadPoolSize(); idleTimeout = cfg.getIdleTimeout(); jettyPath = cfg.getJettyPath(); portRange = cfg.getPortRange(); secretKey = cfg.getSecretKey(); directBuf = cfg.isDirectBuffer(); host = cfg.getHost(); noDelay = cfg.isNoDelay(); port = cfg.getPort(); rcvBufSize = cfg.getReceiveBufferSize(); selectorCnt = cfg.getSelectorCount(); sndBufSize = cfg.getSendBufferSize(); sndQueueLimit = cfg.getSendQueueLimit(); sslClientAuth = cfg.isSslClientAuth(); sslCtxFactory = cfg.getSslContextFactory(); sslEnabled = cfg.isSslEnabled(); sslFactory = cfg.getSslFactory(); idleQryCurTimeout = cfg.getIdleQueryCursorTimeout(); idleQryCurCheckFreq = cfg.getIdleQueryCursorCheckFrequency(); }