ログを日本語に修正

This commit is contained in:
rca 2024-06-29 16:06:10 +09:00
parent 9175d222f2
commit 52ddbe27be

View File

@ -44,17 +44,17 @@ public class TaskDataImpl implements TaskData {
thread.start();
return cacheWrapper.getTaskList().thenApply((taskList) -> {
if (taskList == null) {
logger.debug("Cache is empty");
logger.debug("キャッシュなし");
try { // キャッシュされた結果が存在しない場合はスレッドがサーバーから取得してくるまで待機して再取得
logger.debug("Waiting for task list to be updated");
logger.debug("Threadが終了して更新するまで待機中");
thread.join();
logger.debug("Task list updated");
logger.debug("Threadが終了しました");
return cacheWrapper.getTaskList().join();
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
logger.debug("Cache found");
logger.debug("キャッシュあり: " + taskList.size() + "");
return taskList;
}).join();
});