FileDocCategorySizeDatePackage
DiskManagerRecheckInstance.javaAPI DocAzureus 3.0.3.41852Thu Feb 09 19:42:50 GMT 2006org.gudy.azureus2.core3.disk.impl

DiskManagerRecheckInstance

public class DiskManagerRecheckInstance extends Object

Fields Summary
private DiskManagerRecheckScheduler
scheduler
private long
metric
private int
piece_length
private boolean
low_priority
Constructors Summary
protected DiskManagerRecheckInstance(DiskManagerRecheckScheduler _scheduler, long _size, int _piece_length, boolean _low_priority)

		scheduler		= _scheduler;
		metric			= (_low_priority?0:0x7000000000000000L) + _size;
		piece_length	= _piece_length;
		low_priority	= _low_priority;
	
Methods Summary
protected longgetMetric()

		return( metric );
	
public booleangetPermission()

		return( scheduler.getPermission( this ));
	
protected intgetPieceLength()

		return( piece_length );
	
protected booleanisLowPriority()

		return( low_priority );
	
public voidunregister()

		scheduler.unregister( this );