cacheentryeventtype.java
来自「一个不错的cache」· Java 代码 · 共 55 行
JAVA
55 行
/* * 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: 1.1 $ * @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 CacheEntryEventType ENTRY_ADDED = new CacheEntryEventType(); /** * Get an event type for an entry updated. */ public static CacheEntryEventType ENTRY_UPDATED = new CacheEntryEventType(); /** * Get an event type for an entry flushed. */ public static CacheEntryEventType ENTRY_FLUSHED = new CacheEntryEventType(); /** * Get an event type for an entry removed. */ public static CacheEntryEventType ENTRY_REMOVED = new CacheEntryEventType(); /** * Get an event type for a group flush event. */ public static CacheEntryEventType GROUP_FLUSHED = new CacheEntryEventType(); /** * Get an event type for a pattern flush event. */ public static 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 + =
减小字号Ctrl + -
显示快捷键?