public class sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider extends sun.jvmstat.monitor.MonitoredHost
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider
super_class: sun.jvmstat.monitor.MonitoredHost
{
private static final int DEFAULT_POLLING_INTERVAL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private java.util.ArrayList<sun.jvmstat.monitor.event.HostListener> listeners;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lsun/jvmstat/monitor/event/HostListener;>;
private sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask task;
descriptor: Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
flags: (0x0002) ACC_PRIVATE
private java.util.HashSet<java.lang.Integer> activeVms;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Ljava/lang/Integer;>;
private sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager vmManager;
descriptor: Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvmstat.monitor.HostIdentifier);
descriptor: (Lsun/jvmstat/monitor/HostIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.jvmstat.monitor.MonitoredHost.<init>:()V
1: aload 0
aload 1
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.hostId:Lsun/jvmstat/monitor/HostIdentifier;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
3: aload 0
sipush 1000
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.interval:I
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.activeVms:Ljava/util/HashSet;
5: aload 0
new sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager
dup
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.<init>:()V
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.vmManager:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 7 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
MethodParameters:
Name Flags
hostId
public sun.jvmstat.monitor.MonitoredVm getMonitoredVm(sun.jvmstat.monitor.VmIdentifier);
descriptor: (Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredVm;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 1000
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 1 1 vmid Lsun/jvmstat/monitor/VmIdentifier;
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vmid
public sun.jvmstat.monitor.MonitoredVm getMonitoredVm(sun.jvmstat.monitor.VmIdentifier, int);
descriptor: (Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.hostId:Lsun/jvmstat/monitor/HostIdentifier;
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.resolve:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/VmIdentifier;
astore 3
start local 3 1: new sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm
dup
aload 3
iload 2
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>:(Lsun/jvmstat/monitor/VmIdentifier;I)V
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.net.URISyntaxException
astore 3
start local 3 4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Malformed URI: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
invokevirtual sun.jvmstat.monitor.VmIdentifier.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 7 1 vmid Lsun/jvmstat/monitor/VmIdentifier;
0 7 2 interval I
1 3 3 nvmid Lsun/jvmstat/monitor/VmIdentifier;
4 7 3 e Ljava/net/URISyntaxException;
Exception table:
from to target type
0 2 3 Class java.net.URISyntaxException
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vmid
interval
public void detach(sun.jvmstat.monitor.MonitoredVm);
descriptor: (Lsun/jvmstat/monitor/MonitoredVm;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 2 1 vm Lsun/jvmstat/monitor/MonitoredVm;
MethodParameters:
Name Flags
vm
public void addHostListener(sun.jvmstat.monitor.event.HostListener);
descriptor: (Lsun/jvmstat/monitor/event/HostListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
ifnonnull 6
3: aload 0
new sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask
dup
aload 0
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
4: invokestatic sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.getInstance:()Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
astore 3
start local 3 5: aload 3
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.interval:I
i2l
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.interval:I
i2l
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.schedule:(Ljava/util/TimerTask;JJ)V
end local 3 6: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 11 1 listener Lsun/jvmstat/monitor/event/HostListener;
5 6 3 timer Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
listener
public void removeHostListener(sun.jvmstat.monitor.event.HostListener);
descriptor: (Lsun/jvmstat/monitor/event/HostListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.remove:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 5
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
ifnull 5
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.cancel:()Z
pop
4: aload 0
aconst_null
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
5: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 10 1 listener Lsun/jvmstat/monitor/event/HostListener;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
listener
public void setInterval(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: iload 1
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.interval:I
if_icmpne 4
2: aload 2
monitorexit
3: return
4: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.interval:I
istore 3
start local 3 5: aload 0
iload 1
invokespecial sun.jvmstat.monitor.MonitoredHost.setInterval:(I)V
6: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
ifnull 14
7: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.cancel:()Z
pop
8: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
astore 4
start local 4 9: aload 0
new sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask
dup
aload 0
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
10: invokestatic sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.getInstance:()Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
astore 5
start local 5 11: aload 5
aload 4
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
12: iload 3
iload 1
13: invokestatic sun.jvmstat.perfdata.monitor.CountedTimerTaskUtils.reschedule:(Ljava/util/Timer;Lsun/jvmstat/perfdata/monitor/CountedTimerTask;Lsun/jvmstat/perfdata/monitor/CountedTimerTask;II)V
end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
aload 2
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 2
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 19 1 newInterval I
5 14 3 oldInterval I
9 14 4 oldTask Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider$NotifierTask;
11 14 5 timer Lsun/jvmstat/perfdata/monitor/protocol/local/LocalEventTimer;
Exception table:
from to target type
1 3 16 any
4 15 16 any
16 17 16 any
MethodParameters:
Name Flags
newInterval
public java.util.Set<java.lang.Integer> activeVms();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.vmManager:Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.activeVms:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
Signature: ()Ljava/util/Set<Ljava/lang/Integer;>;
private void fireVmStatusChangedEvents(java.util.Set<java.lang.Integer>, java.util.Set<java.lang.Integer>, java.util.Set<java.lang.Integer>);
descriptor: (Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 6
monitorenter
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clone:()Ljava/lang/Object;
checkcast java.util.ArrayList
astore 4
4: aload 6
monitorexit
5: goto 8
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider java.util.Set java.util.Set java.util.Set java.util.ArrayList sun.jvmstat.monitor.event.VmStatusChangeEvent java.util.ArrayList
StackMap stack: java.lang.Throwable
6: aload 6
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
start local 6 9: goto 14
10: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.event.HostListener
astore 7
start local 7 11: aload 5
ifnonnull 13
12: new sun.jvmstat.monitor.event.VmStatusChangeEvent
dup
aload 0
aload 1
aload 2
aload 3
invokespecial sun.jvmstat.monitor.event.VmStatusChangeEvent.<init>:(Lsun/jvmstat/monitor/MonitoredHost;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
astore 5
13: StackMap locals: sun.jvmstat.monitor.event.HostListener
StackMap stack:
aload 7
aload 5
invokeinterface sun.jvmstat.monitor.event.HostListener.vmStatusChanged:(Lsun/jvmstat/monitor/event/VmStatusChangeEvent;)V
end local 7 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 6 15: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/MonitoredHostProvider;
0 16 1 active Ljava/util/Set<Ljava/lang/Integer;>;
0 16 2 started Ljava/util/Set<Ljava/lang/Integer;>;
0 16 3 terminated Ljava/util/Set<Ljava/lang/Integer;>;
1 16 4 registered Ljava/util/ArrayList<Lsun/jvmstat/monitor/event/HostListener;>;
2 16 5 ev Lsun/jvmstat/monitor/event/VmStatusChangeEvent;
9 15 6 i Ljava/util/Iterator<Lsun/jvmstat/monitor/event/HostListener;>;
11 14 7 l Lsun/jvmstat/monitor/event/HostListener;
Exception table:
from to target type
3 5 6 any
6 7 6 any
Signature: (Ljava/util/Set<Ljava/lang/Integer;>;Ljava/util/Set<Ljava/lang/Integer;>;Ljava/util/Set<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
active
started
terminated
}
SourceFile: "MonitoredHostProvider.java"
NestMembers:
sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask
InnerClasses:
private NotifierTask = sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider$NotifierTask of sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider