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
public interface AddressProvider extends SocketAddressProvider
The AddressProvider is a subclass interface ofSocketAddressProvider
which returnsInetSocketAddress
fromgetNextAddress()
.- Since:
- Coherence 3.4
- Author:
- gg,jh 2008-08-14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetSocketAddress
getNextAddress()
Covariant ofSocketAddressProvider.getNextAddress()
which returns anInetSocketAddress
.-
Methods inherited from interface com.tangosol.net.SocketAddressProvider
accept, equals, hashCode, reject
-
-
-
-
Method Detail
-
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
-
-