Package org.infinispan.server.hotrod
Interface ServerAddress
-
- All Known Implementing Classes:
MultiHomedServerAddress
,SingleHomedServerAddress
public interface ServerAddress
A Hot Rod server address- Since:
- 5.1
- Author:
- Galder ZamarreƱo
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ServerAddress
forAddress(String host, int port, boolean networkPrefixOverride)
String
getHost(InetAddress localAddress)
Returns the mapping for theint
getPort()
-
-
-
Method Detail
-
getHost
String getHost(InetAddress localAddress)
Returns the mapping for the- Parameters:
localAddress
-- Returns:
-
getPort
int getPort()
-
forAddress
static ServerAddress forAddress(String host, int port, boolean networkPrefixOverride)
-
-