ca.cbc.sportwire.util
Class MRUCacheMap

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ca.cbc.sportwire.util.PeriodicData
              |
              +--ca.cbc.sportwire.util.TTLCacheMap
                    |
                    +--ca.cbc.sportwire.util.MRUCacheMap
All Implemented Interfaces:
java.util.Map, java.lang.Runnable, Stoppable

public class MRUCacheMap
extends TTLCacheMap

MRUCacheMap.java:

Created: Mon Jan 14 15:24:06 2002
 $Log: MRUCacheMap.java,v $
 Revision 1.2  2002/01/15 08:28:50  garym
 implemented MRU cache for the JDOMFile objects

 Revision 1.1  2002/01/14 21:51:46  garym
 bug fixes in topics and config files migration to Extended Properties


 

Version:
$Id: MRUCacheMap.java,v 1.2 2002/01/15 08:28:50 garym Exp $
Author:
Gary Lawrence Murphy

Inner classes inherited from class ca.cbc.sportwire.util.TTLCacheMap
TTLCacheMap.TTLEntry
 
Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Fields inherited from class ca.cbc.sportwire.util.TTLCacheMap
cat, m, ttl
 
Fields inherited from class ca.cbc.sportwire.util.PeriodicData
interval, running
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ, userDaemon
 
Constructor Summary
MRUCacheMap()
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          get: returns the result from the underlying representation and resets the TTL field to the default
 
Methods inherited from class ca.cbc.sportwire.util.TTLCacheMap
clear, containsKey, containsValue, entrySet, getEntry, getMap, getTTL, isEmpty, keySet, put, put, putAll, refresh, remove, setTTL, setTTL, size, values
 
Methods inherited from class ca.cbc.sportwire.util.PeriodicData
bump, isRunning, run, setInterval, setRunning
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MRUCacheMap

public MRUCacheMap()
Method Detail

get

public java.lang.Object get(java.lang.Object key)
get: returns the result from the underlying representation and resets the TTL field to the default
Overrides:
get in class TTLCacheMap
Parameters:
key - an Object value
Returns:
an Object value