Package com.tangosol.net
Interface AddressProvider
- All Superinterfaces:
SocketAddressProvider
- All Known Subinterfaces:
DescribableAddressProvider
- All Known Implementing Classes:
CompositeAddressProvider
,CompositeAddressProvider.SingleProvider
,ConfigurableAddressProvider
,ConfigurableLocalAddressProvider
,NullImplementation.NullAddressProvider
,RefreshableAddressProvider
The AddressProvider is a subclass interface of
SocketAddressProvider
which returns InetSocketAddress
from getNextAddress()
.- Since:
- Coherence 3.4
- Author:
- gg,jh 2008-08-14
-
Method Summary
Modifier and TypeMethodDescriptionCovariant ofSocketAddressProvider.getNextAddress()
which returns anInetSocketAddress
.Methods inherited from interface com.tangosol.net.SocketAddressProvider
accept, equals, hashCode, reject
-
Method Details
-
getNextAddress
InetSocketAddress getNextAddress()Covariant ofSocketAddressProvider.getNextAddress()
which returns anInetSocketAddress
.- Specified by:
getNextAddress
in interfaceSocketAddressProvider
- Returns:
- the next available address or null if the list of available addresses was exhausted
-