KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > oscache > base > events > ScopeEventType


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 all the possible events that may occur
10  * at the scope level. Scope-level events are only relevant to the
11  * <code>ServletCacheAdministrator</code>.
12  *
13  * @version $Revision: 1.1 $
14  * @author <a HREF="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
15  */

16 public final class ScopeEventType {
17     /**
18      * Specifies an event type for the all scope flushed event.
19      */

20     public static ScopeEventType ALL_SCOPES_FLUSHED = new ScopeEventType();
21
22     /**
23      * Specifies an event type for the flushing of a specific scope.
24      */

25     public static ScopeEventType SCOPE_FLUSHED = new ScopeEventType();
26
27     /**
28      * Private constructor to ensure that no object of that type are
29      * created externally.
30      */

31     private ScopeEventType() {
32     }
33 }
34
Popular Tags