|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.NullImplementation.NullAddressProvider
public static class NullImplementation.NullAddressProvider
Null implementation of AddressProvider
.
Field Summary | |
---|---|
static NullImplementation.NullAddressProvider |
INSTANCE Singleton instance. |
Constructor Summary | |
---|---|
NullImplementation.NullAddressProvider() |
Method Summary | |
---|---|
void |
accept() This method should be called by the client immediately after it determines that it can successfully use an address returned by the SocketAddressProvider.getNextAddress() method. |
java.net.InetSocketAddress |
getNextAddress() Covariant of SocketAddressProvider.getNextAddress() which returns an InetSocketAddress . |
void |
reject(java.lang.Throwable eCause) This method should be called by the client immediately after it determines that an attempt to use an address returned by the SocketAddressProvider.getNextAddress() method has failed. |
Methods inherited from interface com.tangosol.net.SocketAddressProvider |
---|
equals, hashCode |
Field Detail |
---|
public static final NullImplementation.NullAddressProvider INSTANCE
Constructor Detail |
---|
public NullImplementation.NullAddressProvider()
Method Detail |
---|
public java.net.InetSocketAddress getNextAddress()
SocketAddressProvider.getNextAddress()
which returns an InetSocketAddress
.getNextAddress
in interface AddressProvider
getNextAddress
in interface SocketAddressProvider
public void accept()
SocketAddressProvider.getNextAddress()
method.accept
in interface SocketAddressProvider
public void reject(java.lang.Throwable eCause)
SocketAddressProvider.getNextAddress()
method has failed.reject
in interface SocketAddressProvider
eCause
- (optional) an exception that carries the reason why the the caller rejected the previously returned address
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |