Examples of deregisterListener()


Examples of com.hazelcast.cache.impl.CacheService.deregisterListener()

    }

    public Object call()
            throws Exception {
        final CacheService service = getService();
        return service.deregisterListener(name, registrationId);
    }

    public String getServiceName() {
        return CacheService.SERVICE_NAME;
    }
View Full Code Here

Examples of com.hazelcast.client.spi.impl.ClientInvocationServiceImpl.deRegisterListener()

    public static boolean stopListening(ClientContext context,
                                        BaseClientRemoveListenerRequest request, String registrationId) {
        try {
            ClientInvocationServiceImpl invocationService = getClientInvocationService(context);
            registrationId = invocationService.deRegisterListener(registrationId);
            if (registrationId == null) {
                return false;
            }
            request.setRegistrationId(registrationId);
            final Future<Boolean> future = invocationService.invokeOnRandomTarget(request);
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

        return registration.getId();
    }

    public boolean removeItemListener(String name, String registrationId) {
        EventService eventService = nodeEngine.getEventService();
        return eventService.deregisterListener(SERVICE_NAME, name, registrationId);
    }

    public NodeEngine getNodeEngine() {
        return nodeEngine;
    }
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

    public void setListenerRegistration(final String service, final String topic, final String id) {
        destroyActions.add(new Runnable() {
            @Override
            public void run() {
                EventService eventService = clientEngine.getEventService();
                eventService.deregisterListener(service, topic, id);
            }
        });
    }

    public void setDistributedObjectListener(final String id) {
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

        return registration.getId();
    }

    public boolean removeListener(String name, String registrationId) {
        EventService eventService = nodeEngine.getEventService();
        return eventService.deregisterListener(SERVICE_NAME, name, registrationId);
    }

    public void dispatchEvent(MultiMapEvent event, EventListener listener) {
        EntryListener entryListener = (EntryListener) listener;
        final MemberImpl member = nodeEngine.getClusterService().getMember(event.getCaller());
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

    }

    @Override
    public boolean removeMigrationListener(String registrationId) {
        EventService eventService = nodeEngine.getEventService();
        return eventService.deregisterListener(SERVICE_NAME, SERVICE_NAME, registrationId);
    }

    @Override
    public void dispatchEvent(MigrationEvent migrationEvent, MigrationListener migrationListener) {
        final MigrationStatus status = migrationEvent.getStatus();
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

    }

    public Object call() throws Exception {
        final ClientEngine clientEngine = getClientEngine();
        final EventService eventService = clientEngine.getEventService();
        return eventService.deregisterListener(serviceName, name, registrationId);
    }

    public String getServiceName() {
        return serviceName;
    }
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

        return registration.getId();
    }

    public boolean removeItemListener(String registrationId) {
        EventService eventService = getNodeEngine().getEventService();
        return eventService.deregisterListener(getServiceName(), name, registrationId);
    }

    protected <T> T invoke(CollectionOperation operation) {
        final NodeEngine nodeEngine = getNodeEngine();
        try {
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

    }

    @Override
    public boolean removeClientListener(String registrationId) {
        final EventService eventService = nodeEngine.getEventService();
        return eventService.deregisterListener(ClientEngineImpl.SERVICE_NAME,
                ClientEngineImpl.SERVICE_NAME, registrationId);
    }

}
View Full Code Here

Examples of com.hazelcast.spi.EventService.deregisterListener()

        return registration.getId();
    }

    public boolean removeListener(String name, String registrationId) {
        EventService eventService = nodeEngine.getEventService();
        return eventService.deregisterListener(SERVICE_NAME, name, registrationId);
    }

    public void beforeMigration(PartitionMigrationEvent partitionMigrationEvent) {
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.