/*******************************************************************************
* Copyright (c) 2010 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
******************************************************************************/
package org.jboss.tools.usage.tracker;
import java.io.UnsupportedEncodingException;
/**
* @author Andre Dietisheim
*/
public interface ITracker {
/**
* Track the focusPoint in the application synchronously. <br/>
* <red><b>Please be cognizant while using this method. Since, it would have
* a peformance hit on the actual application. Use it unless it's really
* needed</b></red>
*
* @param focusPoint
* Focus point of the application like application load,
* application module load, user actions, error events etc.
* @throws UnsupportedEncodingException
*/
public abstract void trackSynchronously(IFocusPoint focusPoint);
/**
* Track the focusPoint in the application asynchronously. <br/>
*
* @param focusPoint
* Focus point of the application like application load,
* application module load, user actions, error events etc.
*/
public abstract void trackAsynchronously(IFocusPoint focusPoint);
}