org.infinispan.server.router.configuration.AbstractRouterConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-server-router Show documentation
Show all versions of infinispan-server-router Show documentation
Infinispan Multi Tenant Router
The newest version!
package org.infinispan.server.router.configuration;
import java.net.InetAddress;
abstract class AbstractRouterConfiguration {
private final int port;
private final InetAddress ip;
protected AbstractRouterConfiguration(InetAddress ip, int port) {
this.port = port;
this.ip = ip;
}
public int getPort() {
return port;
}
public InetAddress getIp() {
return ip;
}
}