Package com.hazelcast.config
Interface TrustedInterfacesConfigurable<T extends TrustedInterfacesConfigurable<?>>
- Type Parameters:
T
- implementing class type
- All Known Implementing Classes:
ManagementCenterConfig
,MulticastConfig
public interface TrustedInterfacesConfigurable<T extends TrustedInterfacesConfigurable<?>>
Interface defining methods used to configure trusted interfaces (source IP addresses).
-
Method Summary
Modifier and TypeMethodDescriptionAdds trusted interface (i.e. source IP address or expression).Gets the trusted interfaces.setTrustedInterfaces
(Set<String> interfaces) Sets the trusted interfaces.
-
Method Details
-
addTrustedInterface
Adds trusted interface (i.e. source IP address or expression).- Parameters:
ip
- IP address to be added.- Returns:
- configuration object itself
-
setTrustedInterfaces
Sets the trusted interfaces.- Parameters:
interfaces
- the new trusted interfaces- Returns:
- configuration object itself
-
getTrustedInterfaces
Gets the trusted interfaces.- Returns:
- the trusted interfaces
-