Class ShardInstance

    • Constructor Detail

      • ShardInstance

        public ShardInstance()
    • Method Detail

      • getShard

        public Shard getShard()
        Returns:
        the shard
      • setShard

        public void setShard​(Shard shard)
        Parameters:
        shard - the shard to set
      • getBaseUrl

        public String getBaseUrl()
        Returns:
        the baseUrl
      • setBaseUrl

        public void setBaseUrl​(String baseUrl)
        Parameters:
        baseUrl - the baseUrl to set
      • getPort

        public int getPort()
        Returns:
        the port
      • setPort

        public void setPort​(int port)
        Parameters:
        port - the port to set
      • getHostName

        public String getHostName()
        Returns:
        the hostName
      • setHostName

        public void setHostName​(String hostName)
        Parameters:
        hostName - the hostName to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object