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