File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
src/main/java/com/alipay/oceanbase/hbase Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1543,7 +1543,6 @@ public void close() throws IOException {
1543
1543
if (cleanupPoolOnClose ) {
1544
1544
executePool .shutdown ();
1545
1545
}
1546
- ObTableClientManager .clear ();
1547
1546
}
1548
1547
1549
1548
@ Override
Original file line number Diff line number Diff line change @@ -128,17 +128,6 @@ public static ObTableClient getOrCreateObTableClient(ObTableClientKey obTableCli
128
128
return OB_TABLE_CLIENT_INSTANCE .get (obTableClientKey );
129
129
}
130
130
131
- public static void clear () throws IOException {
132
- try {
133
- for (Map .Entry <ObTableClientKey , ObTableClient > pair : OB_TABLE_CLIENT_INSTANCE .entrySet ()) {
134
- pair .getValue ().close ();
135
- }
136
- } catch (Exception e ) {
137
- throw new IOException ("fail to close tableClient" , e );
138
- }
139
- OB_TABLE_CLIENT_INSTANCE .clear ();
140
- }
141
-
142
131
public static class ObTableClientKey {
143
132
private String paramUrl ;
144
133
private String fullUserName ;
You can’t perform that action at this time.
0 commit comments