|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ScopeEventType.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 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 | 18 |
private ScopeEventType() {
|
| 32 |
} |
|
| 33 |
} |
|
| 34 |
|
|
||||||||||