> +
> +@Singleton
> +public class CreateOrGetTagsId implements Supplier<Map<String,
> CustomFieldDef>> {
> +
> + @Resource
> + @Named(ComputeServiceConstants.COMPUTE_LOGGER)
> + protected Logger logger = Logger.NULL;
> +
> + private final Supplier<VSphereServiceInstance> serviceInstance;
> + private Map<String, CustomFieldDef> customFieldDefMap =
> Maps.newHashMap();
> +
> + @Inject
> + public CreateOrGetTagsId(Supplier<VSphereServiceInstance>
> serviceInstance) {
> +
> + this.serviceInstance = checkNotNull(serviceInstance,
> "serviceInstance");
> + start();
Is this going to perform any I/O? If so, move this out of the constructor.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/61/files#r14184175