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. |
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 |
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 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 © 2018 Hazelcast, Inc.. All rights reserved.