FileDocCategorySizeDatePackage
MonitorImpl.javaAPI DocAzureus 3.0.3.41673Thu Feb 09 19:42:50 GMT 2006org.gudy.azureus2.pluginsimpl.local.utils

MonitorImpl

public class MonitorImpl extends Object implements org.gudy.azureus2.plugins.utils.Monitor

Fields Summary
private static long
next_mon_id
private org.gudy.azureus2.core3.util.AEMonitor
mon
Constructors Summary
protected MonitorImpl(org.gudy.azureus2.plugins.PluginInterface pi)

		synchronized( MonitorImpl.class ){

		  mon = new AEMonitor("Plugin " + pi.getPluginID() + ":" + next_mon_id++ );
		}
	
Methods Summary
public voidenter()

	   mon.enter();
	
public voidexit()

	    mon.exit();
	
public booleanhasWaiters()

		 return( mon.hasWaiters());
	 
public booleanisOwned()

		 return( mon.isHeld());