All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.client.rest.configuration.ServerConfiguration Maven / Gradle / Ivy

There is a newer version: 14.0.33.Final
Show newest version
package org.infinispan.client.rest.configuration;

/**
 * ServerConfiguration.
 *
 * @author Tristan Tarrant
 * @since 10.0
 */
public class ServerConfiguration {
   private final String host;
   private final int port;

   ServerConfiguration(String host, int port) {
      this.host = host;
      this.port = port;
   }

   public String host() {
      return host;
   }

   public int port() {
      return port;
   }

   @Override
   public String toString() {
      return "ServerConfiguration[" +
            "host='" + host + '\'' +
            ", port=" + port +
            ']';
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy