Package | Description |
---|---|
com.hazelcast.spi |
Provides interfaces/classes for the Hazelcast SPI for building distributed data structures and services.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<EventRegistration> |
EventService.getRegistrations(String serviceName,
String topic)
Returns all registrations belonging to the given service and topic.
|
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.
|
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 © 2018 Hazelcast, Inc.. All rights reserved.