public EndpointServerBuilder(PropertyResolver propertyResolver) { this.eachServiceInItsOwnThread = propertyResolver.getBooleanProperty("eachServiceInItsOwnThread", eachServiceInItsOwnThread); this.invokeDynamic = propertyResolver.getBooleanProperty("invokeDynamic", invokeDynamic); this.host = propertyResolver.getStringProperty("host", host); this.port = propertyResolver.getIntegerProperty("port", port); this.numberOfOutstandingRequests = propertyResolver.getIntegerProperty( "numberOfOutstandingRequests", numberOfOutstandingRequests); this.flushInterval = propertyResolver.getIntegerProperty("flushInterval", flushInterval); this.uri = propertyResolver.getStringProperty("uri", uri); this.timeoutSeconds = propertyResolver.getIntegerProperty("timeoutSeconds", timeoutSeconds); this.statsFlushRateSeconds = propertyResolver.getIntegerProperty("statsFlushRateSeconds", statsFlushRateSeconds); this.checkTimingEveryXCalls = propertyResolver.getIntegerProperty("checkTimingEveryXCalls", checkTimingEveryXCalls); }
public CallbackManagerBuilder(final PropertyResolver propertyResolver) { handleTimeouts = propertyResolver.getBooleanProperty("handleTimeouts", handleTimeouts); timeOutMS = propertyResolver.getLongProperty("timeOutMS", timeOutMS); checkInterval = propertyResolver.getLongProperty("checkInterval", checkInterval); }