Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring AmazonInfo refresh into common class #843

Merged
merged 2 commits into from
Sep 8, 2016
Merged

Refactoring AmazonInfo refresh into common class #843

merged 2 commits into from
Sep 8, 2016

Conversation

qiangdavidliu
Copy link
Contributor

  • other minor clean ups

/**
* A holder class for AmazonInfo that exposes some APIs to allow for refreshes.
*/
public class RefreshableAmazonInfoHolder {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like this class should implement standard interface like Supplier or Provider, for better interop with java api

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah thought about that too, I'll stick with Provider for now.

@tcellucci
Copy link
Contributor

name AmazonInfo is overly broad; they (amazon guys) call it InstanceMetadata in the documentation and I think that's on-target.

@qiangdavidliu
Copy link
Contributor Author

yeah that's stuck forever unfortunately.

@spencergibb
Copy link
Contributor

@qiangdavidliu thanks for jumping on this so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants