Package com.biglybt.core.disk.impl
Class DiskManagerAllocationScheduler
- java.lang.Object
-
- com.biglybt.core.disk.impl.DiskManagerAllocationScheduler
-
public class DiskManagerAllocationScheduler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DiskManagerAllocationScheduler.AllocationInstance
-
Field Summary
Fields Modifier and Type Field Description private static AsyncDispatcher
async
private static Core
core
private java.util.List<DiskManagerAllocationScheduler.AllocationInstance>
instances
private java.lang.Object
lock
-
Constructor Summary
Constructors Constructor Description DiskManagerAllocationScheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
canRun(DiskManagerAllocationScheduler.AllocationInstance instance)
DiskManagerAllocationScheduler.AllocationInstance
register(DiskManagerHelper helper)
private void
unregister(DiskManagerAllocationScheduler.AllocationInstance instance)
-
-
-
Field Detail
-
core
private static Core core
-
async
private static AsyncDispatcher async
-
lock
private final java.lang.Object lock
-
instances
private final java.util.List<DiskManagerAllocationScheduler.AllocationInstance> instances
-
-
Method Detail
-
register
public DiskManagerAllocationScheduler.AllocationInstance register(DiskManagerHelper helper)
-
canRun
private boolean canRun(DiskManagerAllocationScheduler.AllocationInstance instance)
-
unregister
private void unregister(DiskManagerAllocationScheduler.AllocationInstance instance)
-
-