public class InterfacesConfig extends Object
Constructor and Description |
---|
InterfacesConfig() |
Modifier and Type | Method and Description |
---|---|
InterfacesConfig |
addInterface(String ip)
Adds a new interface
|
InterfacesConfig |
clear()
clears all interfaces.
|
boolean |
equals(Object o) |
Collection<String> |
getInterfaces() |
int |
hashCode() |
boolean |
isEnabled() |
InterfacesConfig |
setEnabled(boolean enabled) |
InterfacesConfig |
setInterfaces(Collection<String> interfaces)
Adds a collection of interfaces.
|
String |
toString() |
public boolean isEnabled()
true
if the interface is enabled, false
otherwisepublic InterfacesConfig setEnabled(boolean enabled)
enabled
- the enabled interface to setpublic InterfacesConfig addInterface(String ip)
ip
- the added interfacepublic InterfacesConfig clear()
public Collection<String> getInterfaces()
public InterfacesConfig setInterfaces(Collection<String> interfaces)
interfaces
- the interfaces to setCopyright © 2018 Hazelcast, Inc.. All rights reserved.