> @@ -195,6 +195,24 @@ public boolean apply(Invokable<?, ?> input) {
> }
> });
>
> + private static final LoadingCache<Invokable<?, ?>,
> ImmutableList<Parameter>> invokableParamsCache =
> + CacheBuilder.newBuilder().maximumSize(100).build(new
> CacheLoader<Invokable<?, ?>, ImmutableList<Parameter>>() {
> + @Override
> + public ImmutableList<Parameter> load(Invokable<?, ?>
> invokable) {
> + return invokable.getParameters();
> + }
> + });
> +
> + /**
> + * Returns the {@link Parameter}s associated with the given {@link
> Invokable}. This function is back by a cache.
"is backed"
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/164/files#r6710134