X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fadsal%2Fclustering%2Fservices%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fclustering%2Fservices%2FIGetUpdates.java;fp=opendaylight%2Fadsal%2Fclustering%2Fservices%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fclustering%2Fservices%2FIGetUpdates.java;h=0000000000000000000000000000000000000000;hp=1f9a45a24941bff712b08b1377de408bda56495a;hb=50f88249a65c52ba56a48852b71ce432fed2bbeb;hpb=abfa9a03550cbe9fccc4420684dced175dd6d119 diff --git a/opendaylight/adsal/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IGetUpdates.java b/opendaylight/adsal/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IGetUpdates.java deleted file mode 100644 index 1f9a45a249..0000000000 --- a/opendaylight/adsal/clustering/services/src/main/java/org/opendaylight/controller/clustering/services/IGetUpdates.java +++ /dev/null @@ -1,59 +0,0 @@ - -/* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -/** - * @file IGetUpdates.java - * - * @brief Interface that needs to be implemented by the listeners of - * updates received on data structure shared in the cluster - * - * Interface that needs to be implemented by the listeners of updates - * received on data structure shared in the cluster - */ -package org.opendaylight.controller.clustering.services; - -/** - * @deprecated for internal use - * Interface that needs to be implemented by the listeners of - * updates received on data structure shared in the cluster - */ -public interface IGetUpdates { - /** - * Invoked when a new entry is available in the cache, the key is - * only provided, the value will come as an entryUpdate invocation - * - * @param key Key for the entry just created - * @param containerName container for which the update has been received - * @param cacheName name of the cache for which update has been received - */ - void entryCreated(K key, String containerName, String cacheName, - boolean local); - - /** - * Called anytime a given entry is updated - * - * @param key Key for the entry modified - * @param new_value the new value the key will have - * @param containerName container for which the update has been received - * @param cacheName name of the cache for which update has been received - */ - void entryUpdated(K key, V new_value, String containerName, - String cacheName, boolean local); - - /** - * Called anytime a given key is removed from the - * ConcurrentHashMap we are listening to. - * - * @param key Key of the entry removed - * @param containerName container for which the update has been received - * @param cacheName name of the cache for which update has been received - */ - void entryDeleted(K key, String containerName, String cacheName, - boolean originLocal); -}