public class ManagementCenterConfig extends Object
Constructor and Description |
---|
ManagementCenterConfig() |
ManagementCenterConfig(String url,
int dataUpdateInterval) |
Modifier and Type | Method and Description |
---|---|
MCMutualAuthConfig |
getMutualAuthConfig()
Gets a property.
|
int |
getUpdateInterval()
Gets the time frequency (in seconds) for which Management Center will take
information from the Hazelcast cluster.
|
String |
getUrl()
Gets the URL where management center will work.
|
boolean |
isEnabled()
true if management center is enabled, false if disabled. |
boolean |
isScriptingEnabled()
Returns if scripting is allowed (
true ) or disallowed (false ). |
ManagementCenterConfig |
setEnabled(boolean enabled)
Set to
true to enable management center, false to disable. |
ManagementCenterConfig |
setMutualAuthConfig(MCMutualAuthConfig mutualAuthConfig)
Sets the management center mutual auth config
|
ManagementCenterConfig |
setScriptingEnabled(boolean scriptingEnabled)
Enables/disables scripting on the member.
|
ManagementCenterConfig |
setUpdateInterval(int updateInterval)
Sets the time frequency (in seconds) for which Management Center will take
information from the Hazelcast cluster.
|
ManagementCenterConfig |
setUrl(String url)
Sets the URL where management center will work.
|
String |
toString() |
public ManagementCenterConfig()
public ManagementCenterConfig(String url, int dataUpdateInterval)
public boolean isEnabled()
true
if management center is enabled, false
if disabled.true
if management center is enabled, false
if disabledpublic ManagementCenterConfig setScriptingEnabled(boolean scriptingEnabled)
Default value for this config element depends on Hazelcast edition: false
for Hazelcast Enterprise, true
for Hazelcast (open source).
scriptingEnabled
- true
to allow scripting on the member, false
to disallowpublic boolean isScriptingEnabled()
true
) or disallowed (false
).public ManagementCenterConfig setEnabled(boolean enabled)
true
to enable management center, false
to disable.enabled
- true
to enable management center, false
to disablepublic String getUrl()
public ManagementCenterConfig setUrl(String url)
url
- the URL where management center will workpublic int getUpdateInterval()
public ManagementCenterConfig setUpdateInterval(int updateInterval)
updateInterval
- the time frequency (in seconds) for which Management Center will take
information from the Hazelcast clusterpublic ManagementCenterConfig setMutualAuthConfig(MCMutualAuthConfig mutualAuthConfig)
mutualAuthConfig
- the mutual auth configNullPointerException
- if mutualAuthConfig null
public MCMutualAuthConfig getMutualAuthConfig()
NullPointerException
- if name is null
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.