Class ServerUptime


  • public class ServerUptime
    extends Object
    Represents an 'uptime' duration of server in a Glesys cloud
    See Also:
    ServerStatus
    • Method Detail

      • getCurrent

        public long getCurrent()
        Returns:
        the time the server has been up in #getUnit()
      • getUnit

        public String getUnit()
        Returns:
        the unit used for #getCurrent()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()