Class ServerInfoToNodeMetadata.GetImageIdFromServer

  • All Implemented Interfaces:
    com.google.common.base.Function<Server,​String>, Function<Server,​String>
    Enclosing class:
    ServerInfoToNodeMetadata

    @Singleton
    public static class ServerInfoToNodeMetadata.GetImageIdFromServer
    extends Object
    implements com.google.common.base.Function<Server,​String>
    When we create the boot drive of the server, by convention we set the name to the image it came from.
    • Field Detail

      • logger

        protected Logger logger
    • Constructor Detail

      • GetImageIdFromServer

        @Inject
        public GetImageIdFromServer​(com.google.common.cache.LoadingCache<String,​DriveInfo> cache)