Clover coverage report - Coverage timestamp: Sa Jul 7 2007 09:11:40 CEST FRAMES NO FRAMES |
file stats: | LOC: | 37 |  | Methods: | 1
| NCLOC: | 8 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
CacheMapAccessEventType.java | - | - | 100% | 100% |

1 |  | /*
2 |  | * Copyright (c) 2002-2003 by OpenSymphony
3 |  | * All rights reserved.
4 |  | */
5 |  | package com.opensymphony.oscache.base.events;
6 |  |
7 |  |
8 |  | /**
9 |  | * This is an enumeration of the cache events that represent the
10 |  | * various outcomes of cache accesses.
11 |  | *
12 |  | * @version $Revision: 387 $
13 |  | * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
14 |  | */
15 |  | public final class CacheMapAccessEventType {
16 |  | /**
17 |  | * Get an event type for a cache hit.
18 |  | */
19 |  | public static final CacheMapAccessEventType HIT = new CacheMapAccessEventType();
20 |  |
21 |  | /**
22 |  | * Get an event type for a cache miss.
23 |  | */
24 |  | public static final CacheMapAccessEventType MISS = new CacheMapAccessEventType();
25 |  |
26 |  | /**
27 |  | * Get an event type for when the data was found in the cache but was stale.
28 |  | */
29 |  | public static final CacheMapAccessEventType STALE_HIT = new CacheMapAccessEventType();
30 |  |
31 |  | /**
32 |  | * Private constructor to ensure that no object of this type are
33 |  | * created externally.
34 |  | */
35 | 60 | private CacheMapAccessEventType() {
36 |  | }
37 |  | }