vqServer API Class vq.server.Cache

java.lang.Object
    |
    +----vq.utils.kllist
            |
            +----vq.server.Cache
Contents
Package index
Package
API index

public class Cache
extends kllist
Represents the server's internal file cache.


Constructor Index

 o Cache()
 

Method Index

 o add(klentry, klentry)
Used internally for cache maintenance.
 o flush()
Empties the cache.
 o get(String)
Returns a CacheEntry object which represents the file specified.
 o get(String, String)
Returns a CacheEntry object which represents the entry specified in the .zip or .jar file specified.
 o remove(klentry)
Used internally for cache maintenance.

Constructor Detail

 o Cache
public Cache()

Method Detail

 o add
public void add(klentry tentry,
                klentry tprev)
          Used internally for cache maintenance. Do not call this method!
Overrides:
add in class kllist
 o remove
public void remove(klentry tentry)
          Used internally for cache maintenance. Do not call this method!
Overrides:
remove in class kllist
 o get
public klentry get(java.lang.String fileName)
          Returns a CacheEntry object which represents the file specified. The result must be cast to CacheEntry. The CacheEntry object is created and added to the cache or updated if necessary.
Overrides:
get in class kllist
 o get
public klentry get(java.lang.String archive,
                   java.lang.String entry)
          Returns a CacheEntry object which represents the entry specified in the .zip or .jar file specified. The result must be cast to CacheEntry. The CacheEntry object is created and added to the cache or updated if necessary.
 o flush
public void flush()
          Empties the cache.


vqServer API version 1.9. vqServer and the vqServer API are copyright © Steve Shering and vqSoft 1997-2000. Last updated 15 May 2000.

Contents
Package index
Package
API index