public class AutoDetectionConfig extends Object
When enabled, it will walk through all available discovery strategies and detect the correct one for the current runtime
environment. For example, it will automatically use the hazelcast-aws
plugin if run on an AWS instance.
Constructor and Description |
---|
AutoDetectionConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEnabled()
Checks whether the auto detection mechanism is enabled.
|
AutoDetectionConfig |
setEnabled(boolean enabled)
Enables or disables the auto detection join mechanism.
|
String |
toString() |
public boolean isEnabled()
true
if enabledpublic AutoDetectionConfig setEnabled(boolean enabled)
enabled
- true
to enable the auto detection join mechanism, false
to disableCopyright © 2023 Hazelcast, Inc.. All rights reserved.