com.hazelcast.config
Class InterfacesConfig
java.lang.Object
com.hazelcast.config.InterfacesConfig
public class InterfacesConfig
- extends Object
InterfacesConfig
public InterfacesConfig()
isEnabled
public boolean isEnabled()
- Returns:
- the enabled
setEnabled
public InterfacesConfig setEnabled(boolean enabled)
- Parameters:
enabled
- the enabled to set
addInterface
public InterfacesConfig addInterface(String ip)
- Adds a new interface
- Parameters:
ip
-
clear
public InterfacesConfig clear()
- clears all interfaces.
getInterfaces
public Collection<String> getInterfaces()
- Returns:
- a read-only collection of interfaces
setInterfaces
public InterfacesConfig setInterfaces(Collection<String> interfaces)
- Adds a collection of interfaces.
Clears the current collection and then adds all entries of new collection.
- Parameters:
interfaces
- the interfaces to set
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.