📄 diskmanagerallocationscheduler.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: DiskManagerAllocationScheduler.java
package org.gudy.azureus2.core3.disk.impl;
import java.util.ArrayList;
import java.util.List;
import org.gudy.azureus2.core3.util.AEMonitor;
// Referenced classes of package org.gudy.azureus2.core3.disk.impl:
// DiskManagerHelper
public class DiskManagerAllocationScheduler
{
private List instances;
private AEMonitor instance_mon;
public DiskManagerAllocationScheduler()
{
instances = new ArrayList();
instance_mon = new AEMonitor("DiskManagerAllocationScheduler");
}
public void register(DiskManagerHelper helper)
{
instance_mon.enter();
instances.add(helper);
instance_mon.exit();
break MISSING_BLOCK_LABEL_38;
Exception exception;
exception;
instance_mon.exit();
throw exception;
}
protected boolean getPermission(DiskManagerHelper instance)
{
boolean flag;
instance_mon.enter();
if (instances.get(0) != instance)
break MISSING_BLOCK_LABEL_32;
flag = true;
instance_mon.exit();
return flag;
instance_mon.exit();
break MISSING_BLOCK_LABEL_52;
Exception exception;
exception;
instance_mon.exit();
throw exception;
try
{
Thread.sleep(250L);
}
catch (Throwable e) { }
return false;
}
protected void unregister(DiskManagerHelper instance)
{
instance_mon.enter();
instances.remove(instance);
instance_mon.exit();
break MISSING_BLOCK_LABEL_38;
Exception exception;
exception;
instance_mon.exit();
throw exception;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -