int adminMaxThreadCount = this.storageService.getJetS3tProperties() .getIntProperty("threaded-service.admin-max-thread-count", 20); int maxThreadCount = this.storageService.getJetS3tProperties() .getIntProperty("threaded-service.max-thread-count", 2); int maxConnectionCount = this.storageService.getJetS3tProperties() .getIntProperty("httpclient.max-connections", 20); if (maxConnectionCount < maxThreadCount) {
threadWatcher, this.storageService.getJetS3tProperties(), true)
int adminMaxThreadCount = this.storageService.getJetS3tProperties() .getIntProperty("threaded-service.admin-max-thread-count", 20); int maxThreadCount = this.storageService.getJetS3tProperties() .getIntProperty("threaded-service.max-thread-count", 2); int maxConnectionCount = this.storageService.getJetS3tProperties() .getIntProperty("httpclient.max-connections", 20); if (maxConnectionCount < maxThreadCount) {
threadWatcher, this.storageService.getJetS3tProperties(), true)
(BytesProgressWatcher[]) progressWatchers.toArray(new BytesProgressWatcher[progressWatchers.size()])); (new ThreadGroupManager(runnables, threadWatcher, this.storageService.getJetS3tProperties(), false)
(BytesProgressWatcher[]) progressWatchers.toArray(new BytesProgressWatcher[progressWatchers.size()])); (new ThreadGroupManager(runnables, threadWatcher, this.storageService.getJetS3tProperties(), false)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)
protected void initializeDefaults() { if (getJetS3tProperties().getBoolProperty( "storage-service.apply-recommended-dns-caching-defaults", true)) { // Configure the InetAddress DNS caching times to work well with remote services. The cached // DNS will timeout after 5 minutes, while failed DNS lookups will be retried after 1 second. java.security.Security.setProperty("networkaddress.cache.ttl", "300"); java.security.Security.setProperty("networkaddress.cache.negative.ttl", "1"); if (this.log.isDebugEnabled()) { this.log.debug("Setting recommended DNS caching defaults"); } } else { if (this.log.isDebugEnabled()) { this.log.debug("Skipped setting recommended DNS caching defaults because JetS3t" + " property 'storage-service.apply-recommended-dns-caching-defaults' is false"); } } if (this.log.isDebugEnabled()) { log.debug("Using DNS caching system settings:" + " networkaddress.cache.ttl=" + java.security.Security.getProperty("networkaddress.cache.ttl") + ", networkaddress.cache.negative.ttl=" + java.security.Security.getProperty("networkaddress.cache.negative.ttl")); } // (Re)initialize the JetS3t JMX delegate, in case system properties have changed. MxDelegate.getInstance().init(); MxDelegate.getInstance().registerS3ServiceMBean(); MxDelegate.getInstance().registerS3ServiceExceptionMBean(); }
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), false)
protected void initializeDefaults() { if (getJetS3tProperties().getBoolProperty( "storage-service.apply-recommended-dns-caching-defaults", true)) { // Configure the InetAddress DNS caching times to work well with remote services. The cached // DNS will timeout after 5 minutes, while failed DNS lookups will be retried after 1 second. java.security.Security.setProperty("networkaddress.cache.ttl", "300"); java.security.Security.setProperty("networkaddress.cache.negative.ttl", "1"); if (this.log.isDebugEnabled()) { this.log.debug("Setting recommended DNS caching defaults"); } } else { if (this.log.isDebugEnabled()) { this.log.debug("Skipped setting recommended DNS caching defaults because JetS3t" + " property 'storage-service.apply-recommended-dns-caching-defaults' is false"); } } if (this.log.isDebugEnabled()) { log.debug("Using DNS caching system settings:" + " networkaddress.cache.ttl=" + java.security.Security.getProperty("networkaddress.cache.ttl") + ", networkaddress.cache.negative.ttl=" + java.security.Security.getProperty("networkaddress.cache.negative.ttl")); } // (Re)initialize the JetS3t JMX delegate, in case system properties have changed. MxDelegate.getInstance().init(); MxDelegate.getInstance().registerS3ServiceMBean(); MxDelegate.getInstance().registerS3ServiceExceptionMBean(); }
this.storageService.getJetS3tProperties(), true)
this.storageService.getJetS3tProperties(), true)