Package com.hazelcast.config
Class InterfacesConfig
java.lang.Object
com.hazelcast.config.InterfacesConfig
Contains the configuration for Interfaces.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaddInterface(String ip) Adds a new interfaceclear()clears all interfaces.final booleanfinal inthashCode()booleansetEnabled(boolean enabled) setInterfaces(Collection<String> interfaces) Adds a collection of interfaces.toString() 
- 
Constructor Details
- 
InterfacesConfig
public InterfacesConfig() 
 - 
 - 
Method Details
- 
isEnabled
public boolean isEnabled()- Returns:
 trueif the interface is enabled,falseotherwise
 - 
setEnabled
- Parameters:
 enabled- the enabled interface to set
 - 
addInterface
Adds a new interface- Parameters:
 ip- the added interface
 - 
clear
clears all interfaces. - 
getInterfaces
- Returns:
 - a read-only collection of interfaces
 
 - 
setInterfaces
Adds a collection of interfaces. Clears the current collection and then adds all entries of new collection.- Parameters:
 interfaces- the interfaces to set
 - 
equals
 - 
hashCode
public final int hashCode() - 
toString
 
 -