View Javadoc

1   package org.apache.jcs.engine;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import org.apache.jcs.engine.behavior.ICacheObserver;
23  
24  import org.apache.jcs.engine.behavior.IZombie;
25  import org.apache.jcs.engine.behavior.ICacheListener;
26  
27  /***
28   * Description of the Class
29   *
30   */
31  public class ZombieCacheWatch
32      implements ICacheObserver, IZombie
33  {
34      /***
35       * Adds a feature to the CacheListener attribute of the ZombieCacheWatch
36       * object
37       * <p>
38       * @param cacheName
39       *            The feature to be added to the CacheListener attribute
40       * @param obj
41       *            The feature to be added to the CacheListener attribute
42       */
43      public void addCacheListener( String cacheName, ICacheListener obj )
44      {
45          return;
46      }
47  
48      /***
49       * Adds a feature to the CacheListener attribute of the ZombieCacheWatch
50       * object
51       * <p>
52       * @param obj
53       *            The feature to be added to the CacheListener attribute
54       */
55      public void addCacheListener( ICacheListener obj )
56      {
57          return;
58      }
59  
60      /*
61       *  (non-Javadoc)
62       * @see org.apache.jcs.engine.behavior.ICacheObserver#removeCacheListener(java.lang.String, org.apache.jcs.engine.behavior.ICacheListener)
63       */
64      public void removeCacheListener( String cacheName, ICacheListener obj )
65      {
66          return;
67      }
68  
69      /*
70       *  (non-Javadoc)
71       * @see org.apache.jcs.engine.behavior.ICacheObserver#removeCacheListener(org.apache.jcs.engine.behavior.ICacheListener)
72       */
73      public void removeCacheListener( ICacheListener obj )
74      {
75          return;
76      }
77  }