public class sun.jvmstat.perfdata.monitor.protocol.rmi.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.rmi.MonitoredHostProvider
super_class: sun.jvmstat.monitor.MonitoredHost
{
private static final java.lang.String serverName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/JStatRemoteHost"
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.rmi.MonitoredHostProvider$NotifierTask task;
descriptor: Lsun/jvmstat/perfdata/monitor/protocol/rmi/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.rmi.RemoteVmManager vmManager;
descriptor: Lsun/jvmstat/perfdata/monitor/protocol/rmi/RemoteVmManager;
flags: (0x0002) ACC_PRIVATE
private sun.jvmstat.monitor.remote.RemoteHost remoteHost;
descriptor: Lsun/jvmstat/monitor/remote/RemoteHost;
flags: (0x0002) ACC_PRIVATE
private java.util.Timer timer;
descriptor: Ljava/util/Timer;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvmstat.monitor.HostIdentifier);
descriptor: (Lsun/jvmstat/monitor/HostIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, 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.rmi.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.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
3: aload 0
sipush 1000
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.interval:I
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.activeVms:Ljava/util/HashSet;
5: ldc "/JStatRemoteHost"
astore 3
start local 3 6: aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getPath:()Ljava/lang/String;
astore 4
start local 4 7: aload 4
ifnull 9
aload 4
invokevirtual java.lang.String.length:()I
ifle 9
8: aload 4
astore 3
9: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider sun.jvmstat.monitor.HostIdentifier top java.lang.String java.lang.String
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getPort:()I
iconst_m1
if_icmpeq 12
10: new java.lang.StringBuilder
dup
ldc "rmi://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getHost:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 11: goto 13
end local 2 12: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "rmi://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getHost:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 13: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider sun.jvmstat.monitor.HostIdentifier java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
aload 2
invokestatic java.rmi.Naming.lookup:(Ljava/lang/String;)Ljava/rmi/Remote;
checkcast sun.jvmstat.monitor.remote.RemoteHost
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.remoteHost:Lsun/jvmstat/monitor/remote/RemoteHost;
14: goto 37
StackMap locals:
StackMap stack: java.rmi.RemoteException
15: astore 5
start local 5 16: new java.lang.StringBuilder
dup
ldc "RMI Registry not available at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getHost:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 19: aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getPort:()I
iconst_m1
if_icmpne 24
20: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: sipush 1099
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
23: goto 25
24: StackMap locals: java.rmi.RemoteException java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
25: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.rmi.RemoteException.getMessage:()Ljava/lang/String;
ifnull 27
26: new sun.jvmstat.monitor.MonitorException
dup
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.rmi.RemoteException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial sun.jvmstat.monitor.MonitorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
27: StackMap locals:
StackMap stack:
new sun.jvmstat.monitor.MonitorException
dup
aload 6
aload 5
invokespecial sun.jvmstat.monitor.MonitorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 28: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider sun.jvmstat.monitor.HostIdentifier java.lang.String java.lang.String java.lang.String
StackMap stack: java.rmi.NotBoundException
astore 5
start local 5 29: aload 5
invokevirtual java.rmi.NotBoundException.getMessage:()Ljava/lang/String;
astore 6
start local 6 30: aload 6
ifnonnull 31
aload 2
astore 6
31: StackMap locals: java.rmi.NotBoundException java.lang.String
StackMap stack:
new sun.jvmstat.monitor.MonitorException
dup
new java.lang.StringBuilder
dup
ldc "RMI Server "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: ldc " not available"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
33: invokespecial sun.jvmstat.monitor.MonitorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 34: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider sun.jvmstat.monitor.HostIdentifier java.lang.String java.lang.String java.lang.String
StackMap stack: java.net.MalformedURLException
astore 5
start local 5 35: aload 5
invokevirtual java.net.MalformedURLException.printStackTrace:()V
36: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Malformed URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 37: StackMap locals:
StackMap stack:
aload 0
new sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteVmManager
dup
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.remoteHost:Lsun/jvmstat/monitor/remote/RemoteHost;
invokespecial sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteVmManager.<init>:(Lsun/jvmstat/monitor/remote/RemoteHost;)V
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.vmManager:Lsun/jvmstat/perfdata/monitor/protocol/rmi/RemoteVmManager;
38: aload 0
new java.util.Timer
dup
iconst_1
invokespecial java.util.Timer.<init>:(Z)V
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.timer:Ljava/util/Timer;
39: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;
0 40 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
11 12 2 rmiName Ljava/lang/String;
13 40 2 rmiName Ljava/lang/String;
6 40 3 sn Ljava/lang/String;
7 40 4 path Ljava/lang/String;
16 28 5 e Ljava/rmi/RemoteException;
19 28 6 message Ljava/lang/String;
29 34 5 e Ljava/rmi/NotBoundException;
30 34 6 message Ljava/lang/String;
35 37 5 e Ljava/net/MalformedURLException;
Exception table:
from to target type
13 14 15 Class java.rmi.RemoteException
13 14 28 Class java.rmi.NotBoundException
13 14 34 Class java.net.MalformedURLException
Exceptions:
throws sun.jvmstat.monitor.MonitorException
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.rmi.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/rmi/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=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.hostId:Lsun/jvmstat/monitor/HostIdentifier;
aload 1
invokevirtual sun.jvmstat.monitor.HostIdentifier.resolve:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/VmIdentifier;
astore 3
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.remoteHost:Lsun/jvmstat/monitor/remote/RemoteHost;
aload 1
invokevirtual sun.jvmstat.monitor.VmIdentifier.getLocalVmId:()I
3: aload 1
invokevirtual sun.jvmstat.monitor.VmIdentifier.getMode:()Ljava/lang/String;
4: invokeinterface sun.jvmstat.monitor.remote.RemoteHost.attachVm:(ILjava/lang/String;)Lsun/jvmstat/monitor/remote/RemoteVm;
astore 4
start local 4 5: new sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm
dup
aload 4
aload 3
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.timer:Ljava/util/Timer;
6: iload 2
7: invokespecial sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm.<init>:(Lsun/jvmstat/monitor/remote/RemoteVm;Lsun/jvmstat/monitor/VmIdentifier;Ljava/util/Timer;I)V
astore 5
start local 5 8: aload 5
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm.attach:()V
9: aload 5
10: areturn
end local 5 end local 4 11: StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider sun.jvmstat.monitor.VmIdentifier int sun.jvmstat.monitor.VmIdentifier
StackMap stack: java.rmi.RemoteException
astore 4
start local 4 12: new sun.jvmstat.monitor.MonitorException
dup
new java.lang.StringBuilder
dup
ldc "Remote Exception attaching to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: aload 3
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 4
14: invokespecial sun.jvmstat.monitor.MonitorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 15: StackMap locals:
StackMap stack: java.net.URISyntaxException
astore 4
start local 4 16: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Malformed URI: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: 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 4
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;
0 19 1 vmid Lsun/jvmstat/monitor/VmIdentifier;
0 19 2 interval I
1 19 3 nvmid Lsun/jvmstat/monitor/VmIdentifier;
5 11 4 rvm Lsun/jvmstat/monitor/remote/RemoteVm;
8 11 5 rmvm Lsun/jvmstat/perfdata/monitor/protocol/rmi/RemoteMonitoredVm;
12 15 4 e Ljava/rmi/RemoteException;
16 19 4 e Ljava/net/URISyntaxException;
Exception table:
from to target type
1 10 11 Class java.rmi.RemoteException
1 10 15 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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
checkcast sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm
astore 2
start local 2 1: aload 2
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm.detach:()V
2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.remoteHost:Lsun/jvmstat/monitor/remote/RemoteHost;
aload 2
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm.getRemoteVm:()Lsun/jvmstat/monitor/remote/RemoteVm;
invokeinterface sun.jvmstat.monitor.remote.RemoteHost.detachVm:(Lsun/jvmstat/monitor/remote/RemoteVm;)V
3: goto 8
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider sun.jvmstat.monitor.MonitoredVm sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteMonitoredVm
StackMap stack: java.rmi.RemoteException
4: astore 3
start local 3 5: new sun.jvmstat.monitor.MonitorException
dup
new java.lang.StringBuilder
dup
ldc "Remote Exception detaching from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
invokeinterface sun.jvmstat.monitor.MonitoredVm.getVmIdentifier:()Lsun/jvmstat/monitor/VmIdentifier;
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
7: invokespecial sun.jvmstat.monitor.MonitorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;
0 9 1 vm Lsun/jvmstat/monitor/MonitoredVm;
1 9 2 rmvm Lsun/jvmstat/perfdata/monitor/protocol/rmi/RemoteMonitoredVm;
5 8 3 e Ljava/rmi/RemoteException;
Exception table:
from to target type
2 3 4 Class java.rmi.RemoteException
Exceptions:
throws sun.jvmstat.monitor.MonitorException
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.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.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
ifnonnull 5
3: aload 0
new sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask
dup
aload 0
invokespecial sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;)V
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
4: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.timer:Ljava/util/Timer;
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
lconst_0
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.interval:I
i2l
invokevirtual java.util.Timer.schedule:(Ljava/util/TimerTask;JJ)V
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/rmi/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 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.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.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.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 5
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
ifnull 5
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask.cancel:()Z
pop
4: aload 0
aconst_null
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/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/rmi/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=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 2
monitorenter
1: iload 1
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.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.rmi.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.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
ifnull 13
7: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask.cancel:()Z
pop
8: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
astore 4
start local 4 9: aload 0
new sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask
dup
aload 0
invokespecial sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;)V
putfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
10: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.timer:Ljava/util/Timer;
aload 4
aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.task:Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
11: iload 3
iload 1
12: invokestatic sun.jvmstat.perfdata.monitor.CountedTimerTaskUtils.reschedule:(Ljava/util/Timer;Lsun/jvmstat/perfdata/monitor/CountedTimerTask;Lsun/jvmstat/perfdata/monitor/CountedTimerTask;II)V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 2
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;
0 18 1 newInterval I
5 13 3 oldInterval I
9 13 4 oldTask Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider$NotifierTask;
Exception table:
from to target type
1 3 15 any
4 14 15 any
15 16 15 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.rmi.MonitoredHostProvider.vmManager:Lsun/jvmstat/perfdata/monitor/protocol/rmi/RemoteVmManager;
invokevirtual sun.jvmstat.perfdata.monitor.protocol.rmi.RemoteVmManager.activeVms:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;
Exceptions:
throws sun.jvmstat.monitor.MonitorException
Signature: ()Ljava/util/Set<Ljava/lang/Integer;>;
private void fireVmStatusChangedEvents(java.util.Set, java.util.Set, java.util.Set);
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.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 6
monitorenter
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.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.rmi.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/rmi/MonitoredHostProvider;
0 16 1 active Ljava/util/Set;
0 16 2 started Ljava/util/Set;
0 16 3 terminated Ljava/util/Set;
1 16 4 registered Ljava/util/ArrayList;
2 16 5 ev Lsun/jvmstat/monitor/event/VmStatusChangeEvent;
9 15 6 i Ljava/util/Iterator;
11 14 7 l Lsun/jvmstat/monitor/event/HostListener;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
active
started
terminated
void fireDisconnectedEvents();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
dup
astore 3
monitorenter
3: aload 0
getfield sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider.listeners:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clone:()Ljava/lang/Object;
checkcast java.util.ArrayList
astore 1
4: aload 3
monitorexit
5: goto 8
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider java.util.ArrayList sun.jvmstat.monitor.event.HostEvent java.util.ArrayList
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
start local 3 9: goto 14
10: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.event.HostListener
astore 4
start local 4 11: aload 2
ifnonnull 13
12: new sun.jvmstat.monitor.event.HostEvent
dup
aload 0
invokespecial sun.jvmstat.monitor.event.HostEvent.<init>:(Lsun/jvmstat/monitor/MonitoredHost;)V
astore 2
13: StackMap locals: sun.jvmstat.monitor.event.HostListener
StackMap stack:
aload 4
aload 2
invokeinterface sun.jvmstat.monitor.event.HostListener.disconnected:(Lsun/jvmstat/monitor/event/HostEvent;)V
end local 4 14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 3 15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/jvmstat/perfdata/monitor/protocol/rmi/MonitoredHostProvider;
1 16 1 registered Ljava/util/ArrayList;
2 16 2 ev Lsun/jvmstat/monitor/event/HostEvent;
9 15 3 i Ljava/util/Iterator;
11 14 4 l Lsun/jvmstat/monitor/event/HostListener;
Exception table:
from to target type
3 5 6 any
6 7 6 any
}
SourceFile: "MonitoredHostProvider.java"
NestMembers:
sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask
InnerClasses:
private NotifierTask = sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider$NotifierTask of sun.jvmstat.perfdata.monitor.protocol.rmi.MonitoredHostProvider