com.opensymphony.oscache.base.events
Class CacheMapAccessEventType

java.lang.Object
  extended by com.opensymphony.oscache.base.events.CacheMapAccessEventType

public final class CacheMapAccessEventType
extends Object

This is an enumeration of the cache events that represent the various outcomes of cache accesses.

Version:
$Revision: 387 $
Author:
Francois Beauregard

Field Summary
static CacheMapAccessEventType HIT
          Get an event type for a cache hit.
static CacheMapAccessEventType MISS
          Get an event type for a cache miss.
static CacheMapAccessEventType STALE_HIT
          Get an event type for when the data was found in the cache but was stale.
 
Constructor Summary
private CacheMapAccessEventType()
          Private constructor to ensure that no object of this type are created externally.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIT

public static final CacheMapAccessEventType HIT
Get an event type for a cache hit.


MISS

public static final CacheMapAccessEventType MISS
Get an event type for a cache miss.


STALE_HIT

public static final CacheMapAccessEventType STALE_HIT
Get an event type for when the data was found in the cache but was stale.

Constructor Detail

CacheMapAccessEventType

private CacheMapAccessEventType()
Private constructor to ensure that no object of this type are created externally.



Copyright © 2011 OpenSymphony. All Rights Reserved.