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.
|
Collection<String> |
getInterfaces() |
boolean |
isEnabled() |
InterfacesConfig |
setEnabled(boolean enabled) |
InterfacesConfig |
setInterfaces(Collection<String> interfaces)
Adds a collection of interfaces.
|
String |
toString() |
public boolean isEnabled()
public 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 © 2016 Hazelcast, Inc.. All Rights Reserved.