public abstract class sun.jvmstat.monitor.MonitoredHost
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.jvmstat.monitor.MonitoredHost
super_class: java.lang.Object
{
private static java.util.Map<sun.jvmstat.monitor.HostIdentifier, sun.jvmstat.monitor.MonitoredHost> monitoredHosts;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Lsun/jvmstat/monitor/HostIdentifier;Lsun/jvmstat/monitor/MonitoredHost;>;
private static final java.lang.String LOCAL_PROTOCOL_PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.jvmstat.monitor.local"
private static final java.lang.String LOCAL_PROTOCOL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String REMOTE_PROTOCOL_PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.jvmstat.monitor.remote"
private static final java.lang.String REMOTE_PROTOCOL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected sun.jvmstat.monitor.HostIdentifier hostId;
descriptor: Lsun/jvmstat/monitor/HostIdentifier;
flags: (0x0004) ACC_PROTECTED
protected int interval;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.Exception lastException;
descriptor: Ljava/lang/Exception;
flags: (0x0004) ACC_PROTECTED
private static java.util.ServiceLoader<sun.jvmstat.monitor.MonitoredHostService> monitoredHostServiceLoader;
descriptor: Ljava/util/ServiceLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/ServiceLoader<Lsun/jvmstat/monitor/MonitoredHostService;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lsun/jvmstat/monitor/MonitoredHost;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.jvmstat.monitor.MonitoredHost.$assertionsDisabled:Z
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
4: putstatic sun.jvmstat.monitor.MonitoredHost.monitoredHosts:Ljava/util/Map;
5: ldc "sun.jvmstat.monitor.local"
ldc "local"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
6: putstatic sun.jvmstat.monitor.MonitoredHost.LOCAL_PROTOCOL:Ljava/lang/String;
7: ldc "sun.jvmstat.monitor.remote"
ldc "rmi"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
8: putstatic sun.jvmstat.monitor.MonitoredHost.REMOTE_PROTOCOL:Ljava/lang/String;
9: ldc Lsun/jvmstat/monitor/MonitoredHostService;
ldc Lsun/jvmstat/monitor/MonitoredHostService;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
10: putstatic sun.jvmstat.monitor.MonitoredHost.monitoredHostServiceLoader:Ljava/util/ServiceLoader;
11: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/MonitoredHost;
public static sun.jvmstat.monitor.MonitoredHost getMonitoredHost(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/jvmstat/monitor/MonitoredHost;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.jvmstat.monitor.HostIdentifier
dup
aload 0
invokespecial sun.jvmstat.monitor.HostIdentifier.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 hostIdString Ljava/lang/String;
1 2 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
Exceptions:
throws sun.jvmstat.monitor.MonitorException, java.net.URISyntaxException
MethodParameters:
Name Flags
hostIdString
public static sun.jvmstat.monitor.MonitoredHost getMonitoredHost(sun.jvmstat.monitor.VmIdentifier);
descriptor: (Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.jvmstat.monitor.HostIdentifier
dup
aload 0
invokespecial sun.jvmstat.monitor.HostIdentifier.<init>:(Lsun/jvmstat/monitor/VmIdentifier;)V
astore 1
start local 1 1: aload 1
invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 vmid Lsun/jvmstat/monitor/VmIdentifier;
1 2 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vmid
public static sun.jvmstat.monitor.MonitoredHost getMonitoredHost(sun.jvmstat.monitor.HostIdentifier);
descriptor: (Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: getstatic sun.jvmstat.monitor.MonitoredHost.monitoredHosts:Ljava/util/Map;
dup
astore 2
monitorenter
2: getstatic sun.jvmstat.monitor.MonitoredHost.monitoredHosts:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.jvmstat.monitor.MonitoredHost
astore 1
3: aload 1
ifnull 9
4: aload 1
invokevirtual sun.jvmstat.monitor.MonitoredHost.isErrored:()Z
ifeq 7
5: getstatic sun.jvmstat.monitor.MonitoredHost.monitoredHosts:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: goto 9
7: StackMap locals: sun.jvmstat.monitor.MonitoredHost java.util.Map
StackMap stack:
aload 1
aload 2
monitorexit
8: areturn
9: StackMap locals:
StackMap stack:
aload 2
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.jvmstat.monitor.MonitoredHost.resolveHostId:(Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/HostIdentifier;
astore 0
14: getstatic sun.jvmstat.monitor.MonitoredHost.monitoredHostServiceLoader:Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 3
goto 18
StackMap locals: sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost top java.util.Iterator
StackMap stack:
15: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvmstat.monitor.MonitoredHostService
astore 2
start local 2 16: aload 2
invokeinterface sun.jvmstat.monitor.MonitoredHostService.getScheme:()Ljava/lang/String;
aload 0
invokevirtual sun.jvmstat.monitor.HostIdentifier.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: aload 2
aload 0
invokeinterface sun.jvmstat.monitor.MonitoredHostService.getMonitoredHost:(Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
astore 1
end local 2 18: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
19: aload 1
ifnonnull 21
20: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Could not find MonitoredHost for scheme: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvmstat.monitor.HostIdentifier.getScheme:()Ljava/lang/String;
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
21: StackMap locals: sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost
StackMap stack:
getstatic sun.jvmstat.monitor.MonitoredHost.monitoredHosts:Ljava/util/Map;
dup
astore 2
monitorenter
22: getstatic sun.jvmstat.monitor.MonitoredHost.monitoredHosts:Ljava/util/Map;
aload 1
getfield sun.jvmstat.monitor.MonitoredHost.hostId:Lsun/jvmstat/monitor/HostIdentifier;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: aload 2
monitorexit
24: goto 27
StackMap locals: sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Map
StackMap stack: java.lang.Throwable
25: aload 2
monitorexit
26: athrow
27: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 hostId Lsun/jvmstat/monitor/HostIdentifier;
1 28 1 mh Lsun/jvmstat/monitor/MonitoredHost;
16 18 2 mhs Lsun/jvmstat/monitor/MonitoredHostService;
Exception table:
from to target type
2 8 11 any
9 10 11 any
11 12 11 any
22 24 25 any
25 26 25 any
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
hostId
protected static sun.jvmstat.monitor.HostIdentifier resolveHostId(sun.jvmstat.monitor.HostIdentifier);
descriptor: (Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/HostIdentifier;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvmstat.monitor.HostIdentifier.getHost:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual sun.jvmstat.monitor.HostIdentifier.getScheme:()Ljava/lang/String;
astore 2
start local 2 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: getstatic sun.jvmstat.monitor.MonitoredHost.$assertionsDisabled:Z
ifne 4
aload 1
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.lang.String java.lang.String java.lang.StringBuilder
StackMap stack:
aload 2
ifnonnull 9
5: aload 1
ldc "localhost"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 8
6: getstatic sun.jvmstat.monitor.MonitoredHost.LOCAL_PROTOCOL:Ljava/lang/String;
astore 2
7: goto 9
8: StackMap locals:
StackMap stack:
getstatic sun.jvmstat.monitor.MonitoredHost.REMOTE_PROTOCOL:Ljava/lang/String;
astore 2
9: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvmstat.monitor.HostIdentifier.getSchemeSpecificPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
invokevirtual sun.jvmstat.monitor.HostIdentifier.getFragment:()Ljava/lang/String;
astore 4
start local 4 11: aload 4
ifnull 13
12: aload 3
ldc "#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals: java.lang.String
StackMap stack:
new sun.jvmstat.monitor.HostIdentifier
dup
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvmstat.monitor.HostIdentifier.<init>:(Ljava/lang/String;)V
14: areturn
15: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
16: getstatic sun.jvmstat.monitor.MonitoredHost.$assertionsDisabled:Z
ifne 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Malformed URI created: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 hostId Lsun/jvmstat/monitor/HostIdentifier;
1 20 1 hostname Ljava/lang/String;
2 20 2 scheme Ljava/lang/String;
3 20 3 sb Ljava/lang/StringBuilder;
11 20 4 frag Ljava/lang/String;
Exception table:
from to target type
13 14 15 Class java.net.URISyntaxException
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
hostId
public sun.jvmstat.monitor.HostIdentifier getHostIdentifier();
descriptor: ()Lsun/jvmstat/monitor/HostIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.MonitoredHost.hostId:Lsun/jvmstat/monitor/HostIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/MonitoredHost;
public void setInterval(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.jvmstat.monitor.MonitoredHost.interval:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvmstat/monitor/MonitoredHost;
0 2 1 interval I
MethodParameters:
Name Flags
interval
public int getInterval();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.MonitoredHost.interval:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/MonitoredHost;
public void setLastException(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.jvmstat.monitor.MonitoredHost.lastException:Ljava/lang/Exception;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvmstat/monitor/MonitoredHost;
0 2 1 lastException Ljava/lang/Exception;
MethodParameters:
Name Flags
lastException
public java.lang.Exception getLastException();
descriptor: ()Ljava/lang/Exception;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.MonitoredHost.lastException:Ljava/lang/Exception;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/MonitoredHost;
public void clearLastException();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.jvmstat.monitor.MonitoredHost.lastException:Ljava/lang/Exception;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvmstat/monitor/MonitoredHost;
public boolean isErrored();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.MonitoredHost.lastException:Ljava/lang/Exception;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvmstat/monitor/MonitoredHost;
public abstract sun.jvmstat.monitor.MonitoredVm getMonitoredVm(sun.jvmstat.monitor.VmIdentifier);
descriptor: (Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredVm;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
id
public abstract sun.jvmstat.monitor.MonitoredVm getMonitoredVm(sun.jvmstat.monitor.VmIdentifier, int);
descriptor: (Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
id
interval
public abstract void detach(sun.jvmstat.monitor.MonitoredVm);
descriptor: (Lsun/jvmstat/monitor/MonitoredVm;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vm
public abstract void addHostListener(sun.jvmstat.monitor.event.HostListener);
descriptor: (Lsun/jvmstat/monitor/event/HostListener;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
listener
public abstract void removeHostListener(sun.jvmstat.monitor.event.HostListener);
descriptor: (Lsun/jvmstat/monitor/event/HostListener;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
listener
public abstract java.util.Set<java.lang.Integer> activeVms();
descriptor: ()Ljava/util/Set;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws sun.jvmstat.monitor.MonitorException
Signature: ()Ljava/util/Set<Ljava/lang/Integer;>;
}
SourceFile: "MonitoredHost.java"