Class Database


  • public class Database
    extends java.lang.Object
    • Method Detail

      • getUid

        public java.lang.Long getUid()
      • setUid

        public void setUid​(long uid)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • isReplication

        public boolean isReplication()
      • setReplication

        public void setReplication​(boolean replication)
      • isSharding

        public boolean isSharding()
      • setSharding

        public void setSharding​(boolean sharding)
      • getMemory

        public long getMemory()
      • setMemory

        public void setMemory​(long memory)
      • getPort

        public java.lang.Integer getPort()
      • setPort

        public void setPort​(int port)
      • getType

        public java.lang.String getType()
      • setType

        public void setType​(java.lang.String type)
      • isOssCluster

        public boolean isOssCluster()
      • setOssCluster

        public void setOssCluster​(boolean ossCluster)
      • getOssClusterAPIPreferredIPType

        public Database.IPType getOssClusterAPIPreferredIPType()
      • setOssClusterAPIPreferredIPType

        public void setOssClusterAPIPreferredIPType​(Database.IPType ossClusterAPIPreferredIPType)
      • getShardCount

        public java.lang.Integer getShardCount()
      • setShardCount

        public void setShardCount​(int shardCount)
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object