S
- the type of the ManagedService
public interface NotifiableEventListener<S>
EventService
.Modifier and Type | Method and Description |
---|---|
void |
onDeregister(S service,
String serviceName,
String topic,
EventRegistration registration)
Called when this listener deregistered from
EventService . |
void |
onRegister(S service,
String serviceName,
String topic,
EventRegistration registration)
Called when this listener registered to
EventService . |
void onRegister(S service, String serviceName, String topic, EventRegistration registration)
EventService
.service
- the service instance that event belongs toserviceName
- name of the service that event belongs totopic
- name of the topic that event belongs toregistration
- the EventRegistration
instance
that holds information about the registrationvoid onDeregister(S service, String serviceName, String topic, EventRegistration registration)
EventService
.service
- the service instance that event belongs toserviceName
- name of the service that event belongs totopic
- name of the topic that event belongs toregistration
- the EventRegistration
instance
that holds information about the registrationCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.