예제 #1
0
 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 Properties properties) {
   this(PropertyResolver.createPropertiesPropertyResolver(CONTEXT, properties));
 }
 public CallbackManagerBuilder() {
   this(PropertyResolver.createSystemPropertyResolver(CONTEXT));
 }
 public CallbackManagerBuilder(final PropertyResolver propertyResolver) {
   handleTimeouts = propertyResolver.getBooleanProperty("handleTimeouts", handleTimeouts);
   timeOutMS = propertyResolver.getLongProperty("timeOutMS", timeOutMS);
   checkInterval = propertyResolver.getLongProperty("checkInterval", checkInterval);
 }
예제 #5
0
 public EndpointServerBuilder(final Properties properties) {
   this(
       PropertyResolver.createPropertiesPropertyResolver(
           QBIT_ENDPOINT_SERVER_BUILDER, properties));
 }
예제 #6
0
 public EndpointServerBuilder() {
   this(PropertyResolver.createSystemPropertyResolver(QBIT_ENDPOINT_SERVER_BUILDER));
 }