use of com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl in project hazelcast by hazelcast.
the class PostJoinRegistrationOperation method run.
@Override
public void run() throws Exception {
if (registrations == null || registrations.size() <= 0) {
return;
}
NodeEngineImpl nodeEngine = (NodeEngineImpl) getNodeEngine();
EventServiceImpl eventService = (EventServiceImpl) nodeEngine.getEventService();
for (Registration reg : registrations) {
eventService.handleRegistration(reg);
}
}
use of com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl in project hazelcast by hazelcast.
the class RegistrationOperation method run.
@Override
public void run() throws Exception {
EventServiceImpl eventService = (EventServiceImpl) getNodeEngine().getEventService();
response = eventService.handleRegistration(registration);
}
use of com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl 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);
}
}
use of com.hazelcast.spi.impl.eventservice.impl.EventServiceImpl in project hazelcast by hazelcast.
the class SendEventOperation method run.
@Override
public void run() throws Exception {
EventServiceImpl eventService = (EventServiceImpl) getNodeEngine().getEventService();
eventService.executeEventCallback(new EventProcessor(eventService, eventEnvelope, orderKey));
}
Aggregations