public class EventServiceImpl extends Object implements EventService
Modifier and Type | Class and Description |
---|---|
static class |
EventServiceImpl.DeregistrationOperation |
static class |
EventServiceImpl.EmptyFilter |
static class |
EventServiceImpl.EventPacket |
static class |
EventServiceImpl.PostJoinRegistrationOperation |
static class |
EventServiceImpl.Registration |
static class |
EventServiceImpl.RegistrationOperation |
static class |
EventServiceImpl.SendEventOperation |
public int getEventThreadCount()
getEventThreadCount
in interface EventService
public int getEventQueueCapacity()
getEventQueueCapacity
in interface EventService
public int getEventQueueSize()
getEventQueueSize
in interface EventService
public EventRegistration registerLocalListener(String serviceName, String topic, Object listener)
registerLocalListener
in interface EventService
public EventRegistration registerLocalListener(String serviceName, String topic, EventFilter filter, Object listener)
registerLocalListener
in interface EventService
public EventRegistration registerListener(String serviceName, String topic, Object listener)
registerListener
in interface EventService
public EventRegistration registerListener(String serviceName, String topic, EventFilter filter, Object listener)
registerListener
in interface EventService
public boolean deregisterListener(String serviceName, String topic, Object id)
deregisterListener
in interface EventService
public void deregisterAllListeners(String serviceName, String topic)
deregisterAllListeners
in interface EventService
public EventRegistration[] getRegistrationsAsArray(String serviceName, String topic)
getRegistrationsAsArray
in interface EventService
public Collection<EventRegistration> getRegistrations(String serviceName, String topic)
getRegistrations
in interface EventService
public void publishEvent(String serviceName, EventRegistration registration, Object event, int orderKey)
publishEvent
in interface EventService
public void publishEvent(String serviceName, Collection<EventRegistration> registrations, Object event, int orderKey)
publishEvent
in interface EventService
public EventServiceImpl.PostJoinRegistrationOperation getPostJoinOperation()
Copyright © 2014 Hazelcast, Inc.. All rights reserved.