> +@Singleton
> +public class SubnetworkLoader extends CacheLoader<URI, Subnetwork> {
> +   @Resource
> +   protected Logger logger = Logger.NULL;
> +
> +   private final Resources resources;
> +
> +   @Inject
> +   SubnetworkLoader(Resources resources) {
> +      this.resources = resources;
> +   }
> +
> +   @Override
> +   public Subnetwork load(URI key) throws ExecutionException {
> +      try {
> +         return resources.subnetwork(key);

Is this such a freqüent/expensive operation that requires a cache?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1006/files/0c51ed39650e9cab341136716a9d9732c63f7dd0#r78041673

Reply via email to