public class ManagementService extends Object implements DistributedObjectListener
Constructor and Description |
---|
ManagementService(HazelcastInstanceImpl instance) |
Modifier and Type | Method and Description |
---|---|
protected ObjectName |
createObjectName(String type,
String name) |
void |
destroy() |
void |
distributedObjectCreated(DistributedObjectEvent event)
Invoked when a DistributedObject is created.
|
void |
distributedObjectDestroyed(DistributedObjectEvent event)
Invoked when a DistributedObject is destroyed.
|
InstanceMBean |
getInstanceMBean() |
static String |
quote(String text) |
static void |
shutdown(String instanceName) |
static void |
shutdownAll(List<HazelcastInstanceProxy> instances) |
public ManagementService(HazelcastInstanceImpl instance)
public InstanceMBean getInstanceMBean()
public void destroy()
public static void shutdownAll(List<HazelcastInstanceProxy> instances)
public static void shutdown(String instanceName)
public void distributedObjectCreated(DistributedObjectEvent event)
DistributedObjectListener
distributedObjectCreated
in interface DistributedObjectListener
event
- the event for the created DistributedObjectpublic void distributedObjectDestroyed(DistributedObjectEvent event)
DistributedObjectListener
distributedObjectDestroyed
in interface DistributedObjectListener
event
- the event for the destroyed DistributedObjectprotected ObjectName createObjectName(String type, String name)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.