001package org.apache.commons.jcs.engine;
002
003/*
004 * Licensed to the Apache Software Foundation (ASF) under one
005 * or more contributor license agreements.  See the NOTICE file
006 * distributed with this work for additional information
007 * regarding copyright ownership.  The ASF licenses this file
008 * to you under the Apache License, Version 2.0 (the
009 * "License"); you may not use this file except in compliance
010 * with the License.  You may obtain a copy of the License at
011 *
012 *   http://www.apache.org/licenses/LICENSE-2.0
013 *
014 * Unless required by applicable law or agreed to in writing,
015 * software distributed under the License is distributed on an
016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 * KIND, either express or implied.  See the License for the
018 * specific language governing permissions and limitations
019 * under the License.
020 */
021
022import org.apache.commons.jcs.engine.behavior.ICacheListener;
023import org.apache.commons.jcs.engine.behavior.ICacheObserver;
024import org.apache.commons.jcs.engine.behavior.IZombie;
025
026/**
027 * Zombie Observer.
028 */
029public class ZombieCacheWatch
030    implements ICacheObserver, IZombie
031{
032    /**
033     * Adds a feature to the CacheListener attribute of the ZombieCacheWatch object
034     * <p>
035     * @param cacheName The feature to be added to the CacheListener attribute
036     * @param obj The feature to be added to the CacheListener attribute
037     */
038    @Override
039    public <K, V> void addCacheListener( String cacheName, ICacheListener<K, V> obj )
040    {
041        // empty
042    }
043
044    /**
045     * Adds a feature to the CacheListener attribute of the ZombieCacheWatch object
046     * <p>
047     * @param obj The feature to be added to the CacheListener attribute
048     */
049    @Override
050    public <K, V> void addCacheListener( ICacheListener<K, V> obj )
051    {
052        // empty
053    }
054
055    /**
056     * @param cacheName
057     * @param obj
058     */
059    @Override
060    public <K, V> void removeCacheListener( String cacheName, ICacheListener<K, V> obj )
061    {
062        // empty
063    }
064
065    /**
066     * @param obj
067     */
068    @Override
069    public <K, V> void removeCacheListener( ICacheListener<K, V> obj )
070    {
071        // empty
072    }
073}