Class RegionAndNameToImageSupplier

  • All Implemented Interfaces:
    com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,​? extends Image>>, Supplier<com.google.common.cache.LoadingCache<RegionAndName,​? extends Image>>

    @Singleton
    public class RegionAndNameToImageSupplier
    extends Object
    implements com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,​? extends Image>>
    • Constructor Detail

      • RegionAndNameToImageSupplier

        @Inject
        protected RegionAndNameToImageSupplier​(com.google.common.cache.CacheLoader<RegionAndName,​Image> regionAndIdToImage,
                                               @Named("jclouds.session-interval")
                                               long expirationSecs)
    • Method Detail

      • get

        public com.google.common.cache.LoadingCache<RegionAndName,​? extends Image> get()
        Specified by:
        get in interface com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,​? extends Image>>
        Specified by:
        get in interface Supplier<com.google.common.cache.LoadingCache<RegionAndName,​? extends Image>>