|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.process.LoopbackAddress
public class LoopbackAddress
Method Summary | |
---|---|
static InetAddress |
get()
Quite similar to InetAddress.getLoopbackAddress() which was introduced in Java 7. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InetAddress get()
InetAddress.getLoopbackAddress()
which was introduced in Java 7. This
method aims to support Java 6. It returns an IPv4 address, but not IPv6 in order to
support -Djava.net.preferIPv4Stack=true
which is recommended for Elasticsearch.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |