Class CacheNode

java.lang.Object
net.rubyeye.xmemcached.aws.CacheNode
All Implemented Interfaces:
Serializable

public class CacheNode extends Object implements Serializable
AWS ElasticCache Node information.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • hostName

      private String hostName
    • ipAddress

      private String ipAddress
    • port

      private int port
  • Constructor Details

    • CacheNode

      public CacheNode(String hostName, String ipAddress, int port)
  • Method Details

    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getHostName

      public String getHostName()
    • setHostName

      public void setHostName(String hostName)
    • getInetSocketAddress

      public InetSocketAddress getInetSocketAddress()
    • getIpAddress

      public String getIpAddress()
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCacheKey

      public String getCacheKey()