KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > excalibur > cache > store > AbstractCacheStore


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.excalibur.cache.store;
9
10 import org.apache.avalon.excalibur.cache.CacheStore;
11
12 /**
13  *
14  * @author <a HREF="mailto:colus@apache.org">Eung-ju Park</a>
15  */

16 public abstract class AbstractCacheStore
17     implements CacheStore
18 {
19     public boolean isFull()
20     {
21         return size() >= capacity();
22     }
23 }
24
Popular Tags