com.oracle.bedrock.Optionpublic static class JprofilerProfile.ListenAddress extends Object implements com.oracle.bedrock.Option
| Constructor | Description |
|---|---|
ListenAddress(int port) |
Constructs a local
JprofilerProfile.ListenAddress for the specified port. |
ListenAddress(com.oracle.bedrock.runtime.network.AvailablePortIterator ports) |
Constructs a local
JprofilerProfile.ListenAddress, choosing a port from the
AvailablePortIterator. |
ListenAddress(com.oracle.bedrock.util.Capture<Integer> port) |
Constructs a local
JprofilerProfile.ListenAddress for the specified port. |
ListenAddress(InetAddress address,
int port) |
Constructs a
JprofilerProfile.ListenAddress with the specified port. |
ListenAddress(InetAddress address,
com.oracle.bedrock.util.Capture<Integer> port) |
Constructs a
JprofilerProfile.ListenAddress with the specified port. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
InetAddress |
getInetAddress() |
Obtains the address for the
JprofilerProfile
listen address (which may be null). |
com.oracle.bedrock.util.Capture<Integer> |
getPort() |
Obtains the port for the
JprofilerProfile listen address. |
int |
hashCode() |
public ListenAddress(com.oracle.bedrock.runtime.network.AvailablePortIterator ports)
JprofilerProfile.ListenAddress, choosing a port from the
AvailablePortIterator.ports - the available portspublic ListenAddress(com.oracle.bedrock.util.Capture<Integer> port)
JprofilerProfile.ListenAddress for the specified port.port - the portpublic ListenAddress(int port)
JprofilerProfile.ListenAddress for the specified port.port - the portpublic ListenAddress(InetAddress address, com.oracle.bedrock.util.Capture<Integer> port)
JprofilerProfile.ListenAddress with the specified port.address - the addressport - the portpublic ListenAddress(InetAddress address, int port)
JprofilerProfile.ListenAddress with the specified port.address - the addressport - the portpublic InetAddress getInetAddress()
JprofilerProfile
listen address (which may be null).InetAddresspublic com.oracle.bedrock.util.Capture<Integer> getPort()
JprofilerProfile listen address.Copyright © 2018. All rights reserved.