cachemapaccesseventtype.java
来自「一个不错的cache」· Java 代码 · 共 38 行
JAVA
38 行
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. */package com.opensymphony.oscache.base.events;/** * This is an enumeration of the cache events that represent the * various outcomes of cache accesses. * * @version $Revision: 1.1 $ * @author <a href="mailto:fbeauregard@pyxis-tech.com">Francois Beauregard</a> */public final class CacheMapAccessEventType { /** * Get an event type for a cache hit. */ public static CacheMapAccessEventType HIT = new CacheMapAccessEventType(); /** * Get an event type for a cache miss. */ public static CacheMapAccessEventType MISS = new CacheMapAccessEventType(); /** * Get an event type for when the data was found in the cache but was stale. */ public static CacheMapAccessEventType STALE_HIT = new CacheMapAccessEventType(); /** * Private constructor to ensure that no object of this type are * created externally. */ private CacheMapAccessEventType() { }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?