com.hazelcast.spi.impl.eventservice
Interface InternalEventService

All Superinterfaces:
EventService
All Known Implementing Classes:
EventServiceImpl

public interface InternalEventService
extends EventService

The InternalEventService is an EventService interface that adds additional capabilities we don't want to expose to the end user. So they are purely meant to be used internally.


Method Summary
 void close(EventRegistration eventRegistration)
          Closes an EventRegistration.
 void handleEvent(Packet packet)
          Handles an event-packet.
 
Methods inherited from interface com.hazelcast.spi.EventService
deregisterAllListeners, deregisterListener, executeEventCallback, getEventQueueCapacity, getEventQueueSize, getEventThreadCount, getRegistrations, getRegistrationsAsArray, hasEventRegistration, publishEvent, publishEvent, publishEvent, registerListener, registerListener, registerLocalListener, registerLocalListener
 

Method Detail

handleEvent

void handleEvent(Packet packet)
Handles an event-packet.

Parameters:
packet - the event packet to handle.

close

void close(EventRegistration eventRegistration)
Closes an EventRegistration. If the EventRegistration has any closeable resource, e.g. a listener, than this listener is closed.

Parameters:
eventRegistration - the EventRegistration to close.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.