|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.ConfigurableAddressProvider.AddressHolder
public static class ConfigurableAddressProvider.AddressHolder
A stateful holder for an obtaining an InetSocketAddress object.
Field Summary | |
---|---|
protected int |
m_nPort The configured port. |
protected java.lang.String |
m_sHost The configured address, either hostname or IP address. |
Constructor Summary | |
---|---|
ConfigurableAddressProvider.AddressHolder(java.lang.String sHost, int nPort) Construct an AddressHolder for the specified host and port. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Return true iff this ProvidedAddress is equal to the specified Object. |
protected java.lang.String |
getHost() Return the host name. |
protected int |
getPort() Return the port number. |
int |
hashCode() Return the hash code for this ProvidedAddress. |
protected boolean |
isPending() Check whether or not the underlying address has been accepted. |
protected boolean |
isReported() Check whether or not the underlying address has been reported as unresolvable. |
protected void |
setPending(boolean fPending) Set or clear the "pending" flag. |
protected void |
setReported(boolean fReported) Set of clear the "reported" flag. |
Field Detail |
---|
protected java.lang.String m_sHost
protected int m_nPort
Constructor Detail |
---|
public ConfigurableAddressProvider.AddressHolder(java.lang.String sHost, int nPort)
sHost
- the hostnamenPort
- the port numberMethod Detail |
---|
protected boolean isPending()
protected void setPending(boolean fPending)
fPending
- the flag valueprotected boolean isReported()
protected void setReported(boolean fReported)
fReported
- the flag valueprotected java.lang.String getHost()
protected int getPort()
public boolean equals(java.lang.Object o)
o
- the object to compare to this ProvidedAddress for equalitypublic int hashCode()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |