This configuration is used to enable/disable Hazelcast Management Center and specify a time frequency for which the tool is updated with the cluster information.
The example configurations are shown below.
Declarative:
<management-center enabled="true" update-interval="3">http://localhost:8080/mancenter</management-center>
Programmatic:
Config config = new Config();
config.getManagementCenterConfig().setEnabled( "true" )
.setUrl( "http://localhost:8080/mancenter" )
.setUpdateInterval( "3" );
It has below attributes.
enabled
: This attribute should be set to true
to be enable to run Management Center.url
: It is the URL where Management Center will work.updateInterval
: It specifies the time frequency (in seconds) for which Management Center will take information from Hazelcast cluster.