Skip to content

Commit 6863cc7

Browse files
authored
Restore getOrRefreshTableEntry interface (#171)
1 parent 56fd174 commit 6863cc7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/main/java/com/alipay/oceanbase/rpc/ObTableClient.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,19 @@ public ObIndexInfo getOrRefreshIndexInfo(final String indexTableName, boolean fo
11121112
}
11131113
}
11141114

1115+
/**
1116+
* Get or refresh table entry.
1117+
* @param tableName table name
1118+
* @param refresh is re-fresh
1119+
* @param waitForRefresh wait re-fresh
1120+
* @return this
1121+
* @throws Exception if fail
1122+
*/
1123+
public TableEntry getOrRefreshTableEntry(final String tableName, final boolean refresh,
1124+
final boolean waitForRefresh) throws Exception {
1125+
return getOrRefreshTableEntry(tableName, refresh, waitForRefresh, false);
1126+
}
1127+
11151128
/**
11161129
* Get or refresh table entry.
11171130
* @param tableName table name

0 commit comments

Comments
 (0)