01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.oscache.base.events;
06:
07: /**
08: * This is an enumeration of all the possible events that may occur
09: * at the scope level. Scope-level events are only relevant to the
10: * <code>ServletCacheAdministrator</code>.
11: *
12: * @version $Revision: 387 $
13: * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
14: */
15: public final class ScopeEventType {
16: /**
17: * Specifies an event type for the all scope flushed event.
18: */
19: public static final ScopeEventType ALL_SCOPES_FLUSHED = new ScopeEventType();
20:
21: /**
22: * Specifies an event type for the flushing of a specific scope.
23: */
24: public static final ScopeEventType SCOPE_FLUSHED = new ScopeEventType();
25:
26: /**
27: * Private constructor to ensure that no object of that type are
28: * created externally.
29: */
30: private ScopeEventType() {
31: }
32: }
|