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);
}
}
Aggregations