Interface MetadataReader

All Known Implementing Classes:
MetadataReader.Default

public interface MetadataReader
This helper utility is used for reading values out of a Google Compute Engine instance's attached metadata service.
Author:
Matt Moore
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    A simple default implementation that reads metadata via http requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Are we on a Google Compute Engine instance?
    readMetadata(String metadataPath)
    Reads the specified sub-element out of the Google Compute Engine instance's metadata.