public interface AddressPicker
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.Modifier and Type | Method and Description |
---|---|
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.
|
void pickAddress() throws Exception
Exception
Address 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()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.