3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.controller.clustering.test.internal;
12 import org.opendaylight.controller.clustering.services.IGetUpdates;
13 import org.slf4j.Logger;
14 import org.slf4j.LoggerFactory;
16 public class LoggingListener implements IGetUpdates<Integer, StringContainer> {
17 protected static Logger logger = LoggerFactory
18 .getLogger(LoggingListener.class);
21 public void entryCreated(Integer key, String containerName,
22 String cacheName, boolean originLocal) {
23 logger.debug(" Cache entry with key " + key + " created in cache "
28 public void entryUpdated(Integer key, StringContainer newValue,
29 String containerName, String cacheName, boolean originLocal) {
30 logger.debug(" Cache entry with key " + key + " modified to value "
31 + newValue + " in cache " + cacheName);
35 public void entryDeleted(Integer key, String containerName,
36 String cacheName, boolean originLocal) {
37 logger.debug(" Cache entry with key " + key + " removed in cache "