X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fclustering%2Fservices_implementation%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fclustering%2Fservices_implementation%2Finternal%2FGetUpdatesContainer.java;fp=opendaylight%2Fclustering%2Fservices_implementation%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fclustering%2Fservices_implementation%2Finternal%2FGetUpdatesContainer.java;h=0000000000000000000000000000000000000000;hp=3444a171eaac03fde9489b38a065145bb32133c9;hb=42c32160bfd41de57189bb246fec5ffb48ed8e9e;hpb=edf5bfcee83c750853253ccfd991ba7000f5f65b diff --git a/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/GetUpdatesContainer.java b/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/GetUpdatesContainer.java deleted file mode 100644 index 3444a171ea..0000000000 --- a/opendaylight/clustering/services_implementation/src/main/java/org/opendaylight/controller/clustering/services_implementation/internal/GetUpdatesContainer.java +++ /dev/null @@ -1,54 +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 - */ - -package org.opendaylight.controller.clustering.services_implementation.internal; - -import org.opendaylight.controller.clustering.services.IGetUpdates; -import org.opendaylight.controller.clustering.services.ICacheUpdateAware; - -public class GetUpdatesContainer implements IGetUpdates { - private ICacheUpdateAware toBeUpdated; - private String containerName; - private String cacheName; - - public GetUpdatesContainer(ICacheUpdateAware i, String containerName, - String cacheName) { - this.toBeUpdated = i; - this.containerName = containerName; - this.cacheName = cacheName; - } - - public ICacheUpdateAware whichListener() { - return this.toBeUpdated; - } - - @Override - public void entryCreated(K key, String containerName, String cacheName, - boolean local) { - if (this.toBeUpdated != null) { - this.toBeUpdated.entryCreated(key, cacheName, local); - } - } - - @Override - public void entryUpdated(K key, V new_value, String containerName, - String cacheName, - boolean local) { - if (this.toBeUpdated != null) { - this.toBeUpdated.entryUpdated(key, new_value, cacheName, local); - } - } - - @Override - public void entryDeleted(K key, String containerName, String cacheName, - boolean local) { - if (this.toBeUpdated != null) { - this.toBeUpdated.entryDeleted(key, cacheName, local); - } - } -}