## Uses of Interface
com.hazelcast.spi.EventRegistration

- Packages that use EventRegistration
  Package | Description
  --- | ---
  com.hazelcast.spi | Provides interfaces/classes for the Hazelcast SPI for building distributed data structures and services.

- - ### Uses of EventRegistration in com.hazelcast.spi

    Methods in com.hazelcast.spi that return EventRegistration
    Modifier and Type | Method and Description
    --- | ---
    `EventRegistration[]` | EventService.`getRegistrationsAsArray(String serviceName, String topic)` Returns all registrations belonging to the given service and topic as an array.
    `EventRegistration` | EventService.`registerListener(String serviceName, String topic, EventFilter filter, Object listener)` Registers a listener on all cluster nodes with an event filter.
    `EventRegistration` | EventService.`registerListener(String serviceName, String topic, Object listener)` Registers a listener on all cluster nodes.
    `EventRegistration` | EventService.`registerLocalListener(String serviceName, String topic, EventFilter filter, Object listener)` Registers a local only listener with an event filter.
    `EventRegistration` | EventService.`registerLocalListener(String serviceName, String topic, Object listener)` Registers a local only listener.

    Methods in com.hazelcast.spi that return types with arguments of type EventRegistration
    Modifier and Type | Method and Description
    --- | ---
    `Collection<EventRegistration>` | EventService.`getRegistrations(String serviceName, String topic)` Returns all registrations belonging to the given service and topic.

    Methods in com.hazelcast.spi with parameters of type EventRegistration
    Modifier and Type | Method and Description
    --- | ---
    `void` | NotifiableEventListener.`onDeregister(S service, String serviceName, String topic, EventRegistration registration)` Called when this listener deregistered from `EventService`.
    `void` | NotifiableEventListener.`onRegister(S service, String serviceName, String topic, EventRegistration registration)` Called when this listener registered to `EventService`.
    `void` | EventService.`publishEvent(String serviceName, EventRegistration registration, Object event, int orderKey)` Publishes an event for a specific event registration.

    Method parameters in com.hazelcast.spi with type arguments of type EventRegistration
    Modifier and Type | Method and Description
    --- | ---
    `void` | EventService.`publishEvent(String serviceName, Collection<EventRegistration> registrations, Object event, int orderKey)` Publishes an event for multiple event registrations.
    `void` | EventService.`publishRemoteEvent(String serviceName, Collection<EventRegistration> registrations, Object event, int orderKey)` Publishes an event for multiple event registrations, excluding local ones.

Copyright © 2019. All rights reserved.