コード例 #1
0
 private String getTableMetaSeriFullName(String fullname) throws Exception {
   if (!tableMetaSeriFullPathMap.containsKey(fullname)) {
     String serverhost = connection.getAddress().getHostName();
     String dir =
         ProFileUtil.findMsgString(Const.sysconfigFileClasspath, "binlogpares.eventseri.dir");
     String tableEventSeriFullPath =
         dir + "/" + serverhost + "_" + slaveId + "_TableMeta_" + fullname;
     tableMetaSeriFullPathMap.put(fullname, tableEventSeriFullPath);
   }
   String tableEventSeriFullPath = tableMetaSeriFullPathMap.get(fullname);
   return tableEventSeriFullPath;
 }