Search in sources :

Example 1 with EventServiceSegment

use of com.hazelcast.spi.impl.eventservice.impl.EventServiceSegment in project hazelcast by hazelcast.

the class DeregistrationOperation method run.

@Override
public void run() throws Exception {
    EventServiceImpl eventService = (EventServiceImpl) getNodeEngine().getEventService();
    EventServiceSegment segment = eventService.getSegment(getServiceName(), false);
    if (segment != null) {
        segment.removeRegistration(topic, id);
    }
}
Also used : EventServiceImpl(com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl) EventServiceSegment(com.hazelcast.spi.impl.eventservice.impl.EventServiceSegment)

Aggregations

EventServiceImpl (com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl)1 EventServiceSegment (com.hazelcast.spi.impl.eventservice.impl.EventServiceSegment)1