public class ManagementCenterService extends Object
Modifier and Type | Class and Description |
---|---|
class |
ManagementCenterService.MemberListenerImpl
MembershipListener to send Management Center URL to the new members.
|
Constructor and Description |
---|
ManagementCenterService(HazelcastInstanceImpl instance) |
Modifier and Type | Method and Description |
---|---|
InvocationFuture<Object> |
callOnAddress(Address address,
Operation operation) |
InvocationFuture<Object> |
callOnMember(Member member,
Operation operation) |
InvocationFuture<Object> |
callOnThis(Operation operation) |
byte[] |
clusterWideUpdateManagementCenterUrl(String newUrl) |
ConsoleCommandHandler |
getCommandHandler() |
HazelcastInstanceImpl |
getHazelcastInstance() |
void |
log(Event event)
Logs an event to Management Center and calls the configured
ManagementCenterEventListener with the logged event if it
is set. |
static Object |
resolveFuture(Future<Object> future) |
void |
send(Address address,
Operation operation) |
void |
setEventListener(ManagementCenterEventListener eventListener) |
void |
shutdown() |
JsonObject |
syncCallOnThis(Operation operation) |
void |
updateManagementCenterUrl(String newUrl) |
public ManagementCenterService(HazelcastInstanceImpl instance)
public void shutdown()
public byte[] clusterWideUpdateManagementCenterUrl(String newUrl)
public void updateManagementCenterUrl(String newUrl)
public InvocationFuture<Object> callOnAddress(Address address, Operation operation)
public InvocationFuture<Object> callOnThis(Operation operation)
public JsonObject syncCallOnThis(Operation operation)
public InvocationFuture<Object> callOnMember(Member member, Operation operation)
public HazelcastInstanceImpl getHazelcastInstance()
public ConsoleCommandHandler getCommandHandler()
public void setEventListener(ManagementCenterEventListener eventListener)
public void log(Event event)
ManagementCenterEventListener
with the logged event if it
is set.
Events are used by Management Center to show the user what happens when on a cluster member.
Copyright © 2019 Hazelcast, Inc.. All rights reserved.