DiskManagerRecheckInstancepublic 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 long | getMetric()
return( metric );
| public boolean | getPermission()
return( scheduler.getPermission( this ));
| protected int | getPieceLength()
return( piece_length );
| protected boolean | isLowPriority()
return( low_priority );
| public void | unregister()
scheduler.unregister( this );
|
|