Class PartitionDatabaseMeta


  • public class PartitionDatabaseMeta
    extends Object
    Class to contain the information needed to parition (cluster): id, hostname, port, database
    Author:
    Matt
    • Constructor Detail

      • PartitionDatabaseMeta

        public PartitionDatabaseMeta()
      • PartitionDatabaseMeta

        public PartitionDatabaseMeta​(String partitionId,
                                     String hostname,
                                     String port,
                                     String database)
        Parameters:
        partitionId -
        hostname -
        port -
        database -
    • Method Detail

      • getPartitionId

        public String getPartitionId()
        Returns:
        the partitionId
      • setPartitionId

        public void setPartitionId​(String partitionId)
        Parameters:
        partitionId - the partitionId to set
      • getDatabaseName

        public String getDatabaseName()
        Returns:
        the database
      • setDatabaseName

        public void setDatabaseName​(String database)
        Parameters:
        database - the database to set
      • getHostname

        public String getHostname()
        Returns:
        the hostname
      • setHostname

        public void setHostname​(String hostname)
        Parameters:
        hostname - the hostname to set
      • getPort

        public String getPort()
        Returns:
        the port
      • setPort

        public void setPort​(String port)
        Parameters:
        port - the port to set
      • getPassword

        public String getPassword()
        Returns:
        the password
      • setPassword

        public void setPassword​(String password)
        Parameters:
        password - the password to set
      • getUsername

        public String getUsername()
        Returns:
        the username
      • setUsername

        public void setUsername​(String username)
        Parameters:
        username - the username to set