Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public CallbackManagerBuilder(final Properties properties) {
   this(PropertyResolver.createPropertiesPropertyResolver(CONTEXT, properties));
 }
Ejemplo n.º 3
0
 public CallbackManagerBuilder() {
   this(PropertyResolver.createSystemPropertyResolver(CONTEXT));
 }
Ejemplo n.º 4
0
 public CallbackManagerBuilder(final PropertyResolver propertyResolver) {
   handleTimeouts = propertyResolver.getBooleanProperty("handleTimeouts", handleTimeouts);
   timeOutMS = propertyResolver.getLongProperty("timeOutMS", timeOutMS);
   checkInterval = propertyResolver.getLongProperty("checkInterval", checkInterval);
 }
Ejemplo n.º 5
0
 public EndpointServerBuilder(final Properties properties) {
   this(
       PropertyResolver.createPropertiesPropertyResolver(
           QBIT_ENDPOINT_SERVER_BUILDER, properties));
 }
Ejemplo n.º 6
0
 public EndpointServerBuilder() {
   this(PropertyResolver.createSystemPropertyResolver(QBIT_ENDPOINT_SERVER_BUILDER));
 }