Package | Description |
---|---|
com.hazelcast.spi |
Provides interfaces/classes for Hazelcast SPI.
|
com.hazelcast.spi.impl.eventservice |
Contains the code for the
InternalEventService . |
com.hazelcast.spi.impl.eventservice.impl |
Contains the code for the
InternalEventService implementation. |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalEventService.close(EventRegistration eventRegistration)
Closes an EventRegistration.
|
Modifier and Type | Class and Description |
---|---|
class |
Registration |
Modifier and Type | Method and Description |
---|---|
EventRegistration[] |
EventServiceImpl.getRegistrationsAsArray(String serviceName,
String topic) |
EventRegistration |
EventServiceImpl.registerListener(String serviceName,
String topic,
EventFilter filter,
Object listener) |
EventRegistration |
EventServiceImpl.registerListener(String serviceName,
String topic,
Object listener) |
EventRegistration |
EventServiceImpl.registerLocalListener(String serviceName,
String topic,
EventFilter filter,
Object listener) |
EventRegistration |
EventServiceImpl.registerLocalListener(String serviceName,
String topic,
Object listener) |
Modifier and Type | Method and Description |
---|---|
Collection<EventRegistration> |
EventServiceImpl.getRegistrations(String serviceName,
String topic) |
Modifier and Type | Method and Description |
---|---|
void |
EventServiceImpl.close(EventRegistration eventRegistration) |
void |
EventServiceImpl.publishEvent(String serviceName,
EventRegistration registration,
Object event,
int orderKey) |
Modifier and Type | Method and Description |
---|---|
void |
EventServiceImpl.publishEvent(String serviceName,
Collection<EventRegistration> registrations,
Object event,
int orderKey) |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.