📄 cacheentryeventtype.java
字号:
/*
* Copyright (c) 2002-2003 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.oscache.base.events;
/**
* This is all the possible events that may occur on a cache entry or
* collection of cache entries.<p>
* There is a corresponding interface {@link CacheEntryEventListener} for
* handling these events.
*
* @version $Revision: 387 $
* @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a>
*/
public final class CacheEntryEventType {
/**
* Get an event type for an entry added.
*/
public static final CacheEntryEventType ENTRY_ADDED = new CacheEntryEventType();
/**
* Get an event type for an entry updated.
*/
public static final CacheEntryEventType ENTRY_UPDATED = new CacheEntryEventType();
/**
* Get an event type for an entry flushed.
*/
public static final CacheEntryEventType ENTRY_FLUSHED = new CacheEntryEventType();
/**
* Get an event type for an entry removed.
*/
public static final CacheEntryEventType ENTRY_REMOVED = new CacheEntryEventType();
/**
* Get an event type for a group flush event.
*/
public static final CacheEntryEventType GROUP_FLUSHED = new CacheEntryEventType();
/**
* Get an event type for a pattern flush event.
*/
public static final CacheEntryEventType PATTERN_FLUSHED = new CacheEntryEventType();
/**
* Private constructor to ensure that no object of that type are
* created externally.
*/
private CacheEntryEventType() {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -