|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AddressPicker
Strategy to select an Address that a Hazelcast cluster member binds its server socket to
and a (potentially different) address that Hazelcast will advertise to other cluster members and clients.
| Method Summary | |
|---|---|
Address |
getBindAddress()
Returns a server socket listener address. |
Address |
getPublicAddress()
Returns a public address to be advertised to other cluster members and clients. |
ServerSocketChannel |
getServerSocketChannel()
Returns a server channel. |
void |
pickAddress()
Picks both server socket listener address and public address. |
| Method Detail |
|---|
void pickAddress()
throws Exception
ExceptionAddress getBindAddress()
Address where the server socket was bound to or null if called before.
pickAddress()Address getPublicAddress()
Address another members can use to connect to this member or null if called before
pickAddress()ServerSocketChannel getServerSocketChannel()
ServerSocketChannel to be listened to by an acceptor or null if called before
pickAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||