Class ServiceInfo


  • public class ServiceInfo
    extends Object
    ServiceInfo
    Author:
    nkorange
    • Constructor Detail

      • ServiceInfo

        public ServiceInfo()
      • ServiceInfo

        public ServiceInfo​(String key)
      • ServiceInfo

        public ServiceInfo​(String name,
                           String clusters)
    • Method Detail

      • isAllIPs

        public boolean isAllIPs()
      • setAllIPs

        public void setAllIPs​(boolean allIPs)
      • ipCount

        public int ipCount()
      • expired

        public boolean expired()
      • isValid

        public boolean isValid()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getGroupName

        public String getGroupName()
      • setGroupName

        public void setGroupName​(String groupName)
      • setLastRefTime

        public void setLastRefTime​(long lastRefTime)
      • getLastRefTime

        public long getLastRefTime()
      • getClusters

        public String getClusters()
      • setClusters

        public void setClusters​(String clusters)
      • getCacheMillis

        public long getCacheMillis()
      • setCacheMillis

        public void setCacheMillis​(long cacheMillis)
      • validate

        public boolean validate()
      • getJsonFromServer

        public String getJsonFromServer()
      • setJsonFromServer

        public void setJsonFromServer​(String jsonFromServer)
      • getKey

        public String getKey()
      • getKeyEncoded

        public String getKeyEncoded()
      • getChecksum

        public String getChecksum()
      • setChecksum

        public void setChecksum​(String checksum)