org.eclipse.core.runtime.IProgressMonitorWithBlocking Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectjtools Show documentation
Show all versions of aspectjtools Show documentation
AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during
compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based
@AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step.
This library is a superset of AspectJ weaver and hence also of AspectJ runtime.
/*******************************************************************************
* Copyright (c) 2003, 2020 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM - Initial API and implementation
* Christoph Laeubrich - join with IProgressMonitorWithBlocking
*******************************************************************************/
package org.eclipse.core.runtime;
/**
* An extension to the IProgressMonitor interface for monitors that want to
* support feedback when an activity is blocked due to concurrent activity in
* another thread.
*
* When a monitor that supports this extension is passed to an operation, the
* operation should call setBlocked
whenever it knows that it
* must wait for a lock that is currently held by another thread. The operation
* should continue to check for and respond to cancelation requests while
* blocked. When the operation is no longer blocked, it must call clearBlocked
* to clear the blocked state.
*
* This interface can be used without OSGi running.
*
* Clients may implement this interface.
*
* @see IProgressMonitor
* @since 3.0
*/
@Deprecated
public interface IProgressMonitorWithBlocking extends IProgressMonitor {
//content moved to IProgressMonitor
}