001 package org.LiveGraph.dataCache;
002
003 import org.LiveGraph.events.EventType;
004
005
006 /**
007 * Defines cache event types. Currently, no info parameters are associated with events of these types.
008 *
009 * <p>
010 * <strong>LiveGraph</strong>
011 * (<a href="http://www.live-graph.org" target="_blank">http://www.live-graph.org</a>).
012 * </p>
013 * <p>Copyright (c) 2007-2008 by G. Paperin.</p>
014 * <p>File: CacheEvent.java</p>
015 * <p style="font-size:smaller;">Redistribution and use in source and binary forms, with or
016 * without modification, are permitted provided that the following terms and conditions are met:
017 * </p>
018 * <p style="font-size:smaller;">1. Redistributions of source code must retain the above
019 * acknowledgement of the LiveGraph project and its web-site, the above copyright notice,
020 * this list of conditions and the following disclaimer.<br />
021 * 2. Redistributions in binary form must reproduce the above acknowledgement of the
022 * LiveGraph project and its web-site, the above copyright notice, this list of conditions
023 * and the following disclaimer in the documentation and/or other materials provided with
024 * the distribution.<br />
025 * 3. All advertising materials mentioning features or use of this software or any derived
026 * software must display the following acknowledgement:<br />
027 * <em>This product includes software developed by the LiveGraph project and its
028 * contributors.<br />(http://www.live-graph.org)</em><br />
029 * 4. All advertising materials distributed in form of HTML pages or any other technology
030 * permitting active hyper-links that mention features or use of this software or any
031 * derived software must display the acknowledgment specified in condition 3 of this
032 * agreement, and in addition, include a visible and working hyper-link to the LiveGraph
033 * homepage (http://www.live-graph.org).
034 * </p>
035 * <p style="font-size:smaller;">THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
036 * OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
037 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
038 * THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
039 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
040 * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
041 * </p>
042 *
043 * @author Greg Paperin (<a href="http://www.paperin.org" target="_blank">http://www.paperin.org</a>)
044 * @version {@value org.LiveGraph.LiveGraph#version}
045 *
046 */
047 public enum CacheEvent implements EventType {
048
049 /**
050 * UpdateDataFileInfo
051 */
052 CACHE_UpdatedDataFileInfo,
053
054 /**
055 * UpdateLabels
056 */
057 CACHE_UpdatedLabels,
058
059 /**
060 * UpdateData
061 */
062 CACHE_UpdatedData,
063
064 /**
065 * ChangeMode
066 */
067 CACHE_ChangedMode
068
069 } // public enum CacheEvent