|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.InterfacesConfig
public class InterfacesConfig
Contains the configuration for an Interfaces.
Constructor Summary | |
---|---|
InterfacesConfig()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterfacesConfig()
Method Detail |
---|
public boolean isEnabled()
public InterfacesConfig setEnabled(boolean enabled)
enabled
- the enabled to setpublic InterfacesConfig addInterface(String ip)
ip
- public InterfacesConfig clear()
public Collection<String> getInterfaces()
public InterfacesConfig setInterfaces(Collection<String> interfaces)
interfaces
- the interfaces to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |