【无标题】

Classfile /F:/第一学期工作/flume源码/threadPool/target/classes/CelestialData.class
Last modified 2023-8-31; size 3538 bytes
MD5 checksum d30e38d01c5a8b207184b7c3718e37d7
Compiled from “CelestialData.java”
public class CelestialData
minor version: 0
major version: 52
flags: ACC_PUBLIC, ACC_SUPER
Constant pool:
#1 = Methodref #51.#99 // java/lang/Object.“”😦)V
#2 = Class #100 // TimingThreadPool
#3 = Long 5l
#5 = Fieldref #101.#102 // java/util/concurrent/TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
#6 = Class #103 // java/util/concurrent/LinkedBlockingQueue
#7 = Methodref #6.#99 // java/util/concurrent/LinkedBlockingQueue.“”😦)V
#8 = Methodref #104.#105 // java/util/concurrent/Executors.defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
#9 = Class #107 // java/util/concurrent/ThreadPoolExecutorKaTeX parse error: Expected 'EOF', got '#' at position 16: AbortPolicy #̲10 = Methodref …AbortPolicy.“”😦)V
#11 = Methodref #2.#110 // TimingThreadPool.“”:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
#12 = Class #111 // java/util/ArrayList
#13 = Methodref #12.#112 // java/util/ArrayList.“”:(I)V
#14 = Class #113 // java/util/concurrent/CountDownLatch
#15 = Methodref #14.#112 // java/util/concurrent/CountDownLatch.“”:(I)V
#16 = Fieldref #114.#115 // java/lang/System.out:Ljava/io/PrintStream;
#17 = String #116 // 寮?濮?
#18 = Methodref #117.#118 // java/io/PrintStream.println:(Ljava/lang/String;)V
#19 = Fieldref #33.#119 // CelestialData.connectConfig:Ljava/util/List;
#20 = InterfaceMethodref #120.#121 // java/util/List.iterator:()Ljava/util/Iterator;
#21 = InterfaceMethodref #122.#123 // java/util/Iterator.hasNext:()Z
#22 = InterfaceMethodref #122.#124 // java/util/Iterator.next:()Ljava/lang/Object;
#23 = Class #125 // SshClientConfig
#24 = String #126 // 绾跨▼鍑嗗涓?..
#25 = Methodref #23.#127 // SshClientConfig.toString:()Ljava/lang/String;
#26 = Class #128 // ConnectTaskNew
#27 = Class #129 // MyUserInfo
#28 = Methodref #27.#99 // MyUserInfo.“”😦)V
#29 = Methodref #26.#130 // ConnectTaskNew.“”:(LSshClientConfig;LMyUserInfo;Ljava/util/concurrent/CountDownLatch;)V
#30 = Methodref #131.#132 // java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
#31 = InterfaceMethodref #133.#134 // java/util/concurrent/ExecutorService.submit:(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
#32 = InterfaceMethodref #120.#135 // java/util/List.add:(Ljava/lang/Object;)Z
#33 = Class #136 // CelestialData
#34 = Long 3000l
#36 = Fieldref #101.#137 // java/util/concurrent/TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
#37 = Methodref #14.#138 // java/util/concurrent/CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
#38 = Class #139 // java/util/concurrent/Future
#39 = InterfaceMethodref #38.#140 // java/util/concurrent/Future.isDone:()Z
#40 = InterfaceMethodref #38.#141 // java/util/concurrent/Future.cancel:(Z)Z
#41 = Methodref #14.#142 // java/util/concurrent/CountDownLatch.await:()V
#42 = String #143 // 缁撴潫
#43 = String #136 // CelestialData
#44 = Methodref #144.#145 // org/slf4j/LoggerFactory.getLogger:(Ljava/lang/String;)Lorg/slf4j/Logger;
#45 = Fieldref #33.#146 // CelestialData.log:Lorg/slf4j/Logger;
#46 = Methodref #12.#99 // java/util/ArrayList.“”😦)V
#47 = String #147 // hadoop
#48 = String #148 // 192.168.10.103
#49 = Methodref #23.#149 // SshClientConfig.“”:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
#50 = String #150 // 192.168.10.102
#51 = Class #151 // java/lang/Object
#52 = Utf8 log
#53 = Utf8 Lorg/slf4j/Logger;
#54 = Utf8 sshClientConfig
#55 = Utf8 LSshClientConfig;
#56 = Utf8 myUserInfo
#57 = Utf8 LMyUserInfo;
#58 = Utf8 THREAD_TIMEOUT
#59 = Utf8 I
#60 = Utf8 ConstantValue
#61 = Integer 3000
#62 = Utf8 connectConfig
#63 = Utf8 Ljava/util/List;
#64 = Utf8 Signature
#65 = Utf8 Ljava/util/List<LSshClientConfig;>;
#66 = Utf8
#67 = Utf8 ()V
#68 = Utf8 Code
#69 = Utf8 LineNumberTable
#70 = Utf8 LocalVariableTable
#71 = Utf8 this
#72 = Utf8 LCelestialData;
#73 = Utf8 main
#74 = Utf8 ([Ljava/lang/String;)V
#75 = Utf8 connectTaskNew
#76 = Utf8 LConnectTaskNew;
#77 = Utf8 future
#78 = Utf8 Ljava/util/concurrent/Future;
#79 = Utf8 futures
#80 = Utf8 countDownLatch
#81 = Utf8 Ljava/util/concurrent/CountDownLatch;
#82 = Utf8 args
#83 = Utf8 [Ljava/lang/String;
#84 = Utf8 executor
#85 = Utf8 Ljava/util/concurrent/ExecutorService;
#86 = Utf8 LocalVariableTypeTable
#87 = Utf8 Ljava/util/concurrent/Future<Ljava/lang/Boolean;>;
#88 = Utf8 Ljava/util/List<Ljava/util/concurrent/Future<Ljava/lang/Boolean;>;>;
#89 = Utf8 StackMapTable
#90 = Class #152 // java/util/concurrent/ExecutorService
#91 = Class #153 // java/util/List
#92 = Class #113 // java/util/concurrent/CountDownLatch
#93 = Class #154 // java/util/Iterator
#94 = Utf8 Exceptions
#95 = Class #155 // java/lang/InterruptedException
#96 = Utf8
#97 = Utf8 SourceFile
#98 = Utf8 CelestialData.java
#99 = NameAndType #66:#67 // “”😦)V
#100 = Utf8 TimingThreadPool
#101 = Class #156 // java/util/concurrent/TimeUnit
#102 = NameAndType #157:#158 // SECONDS:Ljava/util/concurrent/TimeUnit;
#103 = Utf8 java/util/concurrent/LinkedBlockingQueue
#104 = Class #159 // java/util/concurrent/Executors
#105 = NameAndType #160:#161 // defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
#106 = Class #162 // java/util/concurrent/ThreadPoolExecutor
#107 = Utf8 java/util/concurrent/ThreadPoolExecutor$AbortPolicy
#108 = Utf8 AbortPolicy
#109 = Utf8 InnerClasses
#110 = NameAndType #66:#163 // “”:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
#111 = Utf8 java/util/ArrayList
#112 = NameAndType #66:#164 // “”:(I)V
#113 = Utf8 java/util/concurrent/CountDownLatch
#114 = Class #165 // java/lang/System
#115 = NameAndType #166:#167 // out:Ljava/io/PrintStream;
#116 = Utf8 寮?濮?
#117 = Class #168 // java/io/PrintStream
#118 = NameAndType #169:#170 // println:(Ljava/lang/String;)V
#119 = NameAndType #62:#63 // connectConfig:Ljava/util/List;
#120 = Class #153 // java/util/List
#121 = NameAndType #171:#172 // iterator:()Ljava/util/Iterator;
#122 = Class #154 // java/util/Iterator
#123 = NameAndType #173:#174 // hasNext:()Z
#124 = NameAndType #175:#176 // next:()Ljava/lang/Object;
#125 = Utf8 SshClientConfig
#126 = Utf8 绾跨▼鍑嗗涓?..
#127 = NameAndType #177:#178 // toString:()Ljava/lang/String;
#128 = Utf8 ConnectTaskNew
#129 = Utf8 MyUserInfo
#130 = NameAndType #66:#179 // “”:(LSshClientConfig;LMyUserInfo;Ljava/util/concurrent/CountDownLatch;)V
#131 = Class #180 // java/lang/Boolean
#132 = NameAndType #181:#182 // valueOf:(Z)Ljava/lang/Boolean;
#133 = Class #152 // java/util/concurrent/ExecutorService
#134 = NameAndType #183:#184 // submit:(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
#135 = NameAndType #185:#186 // add:(Ljava/lang/Object;)Z
#136 = Utf8 CelestialData
#137 = NameAndType #187:#158 // MILLISECONDS:Ljava/util/concurrent/TimeUnit;
#138 = NameAndType #188:#189 // await:(JLjava/util/concurrent/TimeUnit;)Z
#139 = Utf8 java/util/concurrent/Future
#140 = NameAndType #190:#174 // isDone:()Z
#141 = NameAndType #191:#192 // cancel:(Z)Z
#142 = NameAndType #188:#67 // await:()V
#143 = Utf8 缁撴潫
#144 = Class #193 // org/slf4j/LoggerFactory
#145 = NameAndType #194:#195 // getLogger:(Ljava/lang/String;)Lorg/slf4j/Logger;
#146 = NameAndType #52:#53 // log:Lorg/slf4j/Logger;
#147 = Utf8 hadoop
#148 = Utf8 192.168.10.103
#149 = NameAndType #66:#196 // “”:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
#150 = Utf8 192.168.10.102
#151 = Utf8 java/lang/Object
#152 = Utf8 java/util/concurrent/ExecutorService
#153 = Utf8 java/util/List
#154 = Utf8 java/util/Iterator
#155 = Utf8 java/lang/InterruptedException
#156 = Utf8 java/util/concurrent/TimeUnit
#157 = Utf8 SECONDS
#158 = Utf8 Ljava/util/concurrent/TimeUnit;
#159 = Utf8 java/util/concurrent/Executors
#160 = Utf8 defaultThreadFactory
#161 = Utf8 ()Ljava/util/concurrent/ThreadFactory;
#162 = Utf8 java/util/concurrent/ThreadPoolExecutor
#163 = Utf8 (IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
#164 = Utf8 (I)V
#165 = Utf8 java/lang/System
#166 = Utf8 out
#167 = Utf8 Ljava/io/PrintStream;
#168 = Utf8 java/io/PrintStream
#169 = Utf8 println
#170 = Utf8 (Ljava/lang/String;)V
#171 = Utf8 iterator
#172 = Utf8 ()Ljava/util/Iterator;
#173 = Utf8 hasNext
#174 = Utf8 ()Z
#175 = Utf8 next
#176 = Utf8 ()Ljava/lang/Object;
#177 = Utf8 toString
#178 = Utf8 ()Ljava/lang/String;
#179 = Utf8 (LSshClientConfig;LMyUserInfo;Ljava/util/concurrent/CountDownLatch;)V
#180 = Utf8 java/lang/Boolean
#181 = Utf8 valueOf
#182 = Utf8 (Z)Ljava/lang/Boolean;
#183 = Utf8 submit
#184 = Utf8 (Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
#185 = Utf8 add
#186 = Utf8 (Ljava/lang/Object;)Z
#187 = Utf8 MILLISECONDS
#188 = Utf8 await
#189 = Utf8 (JLjava/util/concurrent/TimeUnit;)Z
#190 = Utf8 isDone
#191 = Utf8 cancel
#192 = Utf8 (Z)Z
#193 = Utf8 org/slf4j/LoggerFactory
#194 = Utf8 getLogger
#195 = Utf8 (Ljava/lang/String;)Lorg/slf4j/Logger;
#196 = Utf8 (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
{
public static final int THREAD_TIMEOUT;
descriptor: I
flags: ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: int 3000

public static java.util.List connectConfig;
descriptor: Ljava/util/List;
flags: ACC_PUBLIC, ACC_STATIC
Signature: #65 // Ljava/util/List<LSshClientConfig;>;

public CelestialData();
descriptor: ()V
flags: ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
0: aload_0
1: invokespecial #1 // Method java/lang/Object.“”😦)V
4: return
LineNumberTable:
line 8: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this LCelestialData;

public static void main(java.lang.String[]) throws java.lang.InterruptedException;
descriptor: ([Ljava/lang/String;)V
flags: ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=7, args_size=1
0: new #2 // class TimingThreadPool
3: dup
4: bipush 10
6: bipush 10
8: ldc2_w #3 // long 5l
11: getstatic #5 // Field java/util/concurrent/TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
14: new #6 // class java/util/concurrent/LinkedBlockingQueue
17: dup
18: invokespecial #7 // Method java/util/concurrent/LinkedBlockingQueue.“”😦)V
21: invokestatic #8 // Method java/util/concurrent/Executors.defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
24: new #9 // class java/util/concurrent/ThreadPoolExecutorKaTeX parse error: Expected 'EOF', got '#' at position 55: … invokespecial #̲10 …AbortPolicy.“”😦)V
31: invokespecial #11 // Method TimingThreadPool.“”:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
34: astore_1
35: new #12 // class java/util/ArrayList
38: dup
39: iconst_2
40: invokespecial #13 // Method java/util/ArrayList.“”:(I)V
43: astore_2
44: new #14 // class java/util/concurrent/CountDownLatch
47: dup
48: iconst_2
49: invokespecial #15 // Method java/util/concurrent/CountDownLatch.“”:(I)V
52: astore_3
53: getstatic #16 // Field java/lang/System.out:Ljava/io/PrintStream;
56: ldc #17 // String 寮?濮?
58: invokevirtual #18 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
61: getstatic #19 // Field connectConfig:Ljava/util/List;
64: invokeinterface #20, 1 // InterfaceMethod java/util/List.iterator:()Ljava/util/Iterator;
69: astore 4
71: aload 4
73: invokeinterface #21, 1 // InterfaceMethod java/util/Iterator.hasNext:()Z
78: ifeq 153
81: aload 4
83: invokeinterface #22, 1 // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
88: checkcast #23 // class SshClientConfig
91: astore 5
93: getstatic #16 // Field java/lang/System.out:Ljava/io/PrintStream;
96: ldc #24 // String 绾跨▼鍑嗗涓?..
98: invokevirtual #18 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
101: getstatic #16 // Field java/lang/System.out:Ljava/io/PrintStream;
104: aload 5
106: invokevirtual #25 // Method SshClientConfig.toString:()Ljava/lang/String;
109: invokevirtual #18 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
112: new #26 // class ConnectTaskNew
115: dup
116: aload 5
118: new #27 // class MyUserInfo
121: dup
122: invokespecial #28 // Method MyUserInfo.“”😦)V
125: aload_3
126: invokespecial #29 // Method ConnectTaskNew.“”:(LSshClientConfig;LMyUserInfo;Ljava/util/concurrent/CountDownLatch;)V
129: astore 6
131: aload_2
132: aload_1
133: aload 6
135: iconst_1
136: invokestatic #30 // Method java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;
139: invokeinterface #31, 3 // InterfaceMethod java/util/concurrent/ExecutorService.submit:(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Future;
144: invokeinterface #32, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
149: pop
150: goto 71
153: aload_3
154: ldc2_w #34 // long 3000l
157: getstatic #36 // Field java/util/concurrent/TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
160: invokevirtual #37 // Method java/util/concurrent/CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
163: ifne 222
166: aload_2
167: invokeinterface #20, 1 // InterfaceMethod java/util/List.iterator:()Ljava/util/Iterator;
172: astore 4
174: aload 4
176: invokeinterface #21, 1 // InterfaceMethod java/util/Iterator.hasNext:()Z
181: ifeq 218
184: aload 4
186: invokeinterface #22, 1 // InterfaceMethod java/util/Iterator.next:()Ljava/lang/Object;
191: checkcast #38 // class java/util/concurrent/Future
194: astore 5
196: aload 5
198: invokeinterface #39, 1 // InterfaceMethod java/util/concurrent/Future.isDone:()Z
203: ifne 215
206: aload 5
208: iconst_1
209: invokeinterface #40, 2 // InterfaceMethod java/util/concurrent/Future.cancel:(Z)Z
214: pop
215: goto 174
218: aload_3
219: invokevirtual #41 // Method java/util/concurrent/CountDownLatch.await:()V
222: getstatic #16 // Field java/lang/System.out:Ljava/io/PrintStream;
225: ldc #42 // String 缁撴潫
227: invokevirtual #18 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
230: goto 35
LineNumberTable:
line 21: 0
line 23: 35
line 24: 44
line 25: 53
line 26: 61
line 28: 93
line 29: 101
line 30: 112
line 31: 131
line 32: 150
line 34: 153
line 35: 166
line 36: 196
line 37: 206
line 39: 215
line 40: 218
line 42: 222
line 43: 230
LocalVariableTable:
Start Length Slot Name Signature
131 19 6 connectTaskNew LConnectTaskNew;
93 57 5 sshClientConfig LSshClientConfig;
196 19 5 future Ljava/util/concurrent/Future;
44 186 2 futures Ljava/util/List;
53 177 3 countDownLatch Ljava/util/concurrent/CountDownLatch;
0 233 0 args [Ljava/lang/String;
35 198 1 executor Ljava/util/concurrent/ExecutorService;
LocalVariableTypeTable:
Start Length Slot Name Signature
196 19 5 future Ljava/util/concurrent/Future<Ljava/lang/Boolean;>;
44 186 2 futures Ljava/util/List<Ljava/util/concurrent/Future<Ljava/lang/Boolean;>;>;
StackMapTable: number_of_entries = 7
frame_type = 252 /* append /
offset_delta = 35
locals = [ class java/util/concurrent/ExecutorService ]
frame_type = 254 /
append /
offset_delta = 35
locals = [ class java/util/List, class java/util/concurrent/CountDownLatch, class java/util/Iterator ]
frame_type = 250 /
chop /
offset_delta = 81
frame_type = 252 /
append /
offset_delta = 20
locals = [ class java/util/Iterator ]
frame_type = 40 /
same /
frame_type = 250 /
chop /
offset_delta = 2
frame_type = 3 /
same */
Exceptions:
throws java.lang.InterruptedException

static {};
descriptor: ()V
flags: ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: ldc #43 // String CelestialData
2: invokestatic #44 // Method org/slf4j/LoggerFactory.getLogger:(Ljava/lang/String;)Lorg/slf4j/Logger;
5: putstatic #45 // Field log:Lorg/slf4j/Logger;
8: new #12 // class java/util/ArrayList
11: dup
12: invokespecial #46 // Method java/util/ArrayList.“”😦)V
15: putstatic #19 // Field connectConfig:Ljava/util/List;
18: getstatic #19 // Field connectConfig:Ljava/util/List;
21: new #23 // class SshClientConfig
24: dup
25: ldc #47 // String hadoop
27: ldc #48 // String 192.168.10.103
29: ldc #47 // String hadoop
31: invokespecial #49 // Method SshClientConfig.“”:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
34: invokeinterface #32, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
39: pop
40: getstatic #19 // Field connectConfig:Ljava/util/List;
43: new #23 // class SshClientConfig
46: dup
47: ldc #47 // String hadoop
49: ldc #50 // String 192.168.10.102
51: ldc #47 // String hadoop
53: invokespecial #49 // Method SshClientConfig.“”:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
56: invokeinterface #32, 2 // InterfaceMethod java/util/List.add:(Ljava/lang/Object;)Z
61: pop
62: return
LineNumberTable:
line 9: 0
line 13: 8
line 15: 18
line 16: 40
line 17: 62
}
SourceFile: “CelestialData.java”
InnerClasses:
public static #108= #9 of #106; //AbortPolicy=class java/util/concurrent/ThreadPoolExecutor$AbortPolicy of class java/util/concurrent/ThreadPoolExecutor

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值