jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanstantsin Shautsou (Jira)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-1522) Stop injecting @Assisted for openstack-swift
Date Wed, 06 Nov 2019 22:08:00 GMT
Kanstantsin Shautsou created JCLOUDS-1522:

             Summary:  Stop injecting @Assisted for openstack-swift
                 Key: JCLOUDS-1522
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1522
             Project: jclouds
          Issue Type: Improvement
          Components: jclouds-blobstore
    Affects Versions: 2.2.0
            Reporter: Kanstantsin Shautsou

Warning claims speed bump
{quote}com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
WARNING: AssistedInject factory org.jclouds.openstack.swift.v1.blobstore.config.SwiftBlobStoreContextModule$Factory
will be slow because class org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore
has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T>
(instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!)
The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore.<init>()[0]]


SwiftApi swiftApi = ContextBuilder.newBuilder("openstack-swift")   
 .credentials(identity, "") 
Is it valid warning?

This message was sent by Atlassian Jira

View raw message