Refactor: Rename onBootstrapComplete to onBootstrapped

This commit is contained in:
chimp1984 2021-02-18 16:17:03 -05:00 committed by Christoph Atteneder
parent c6868f1bed
commit 45e4aaa24d
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
if (!isBootstrapped) {
isBootstrapped = true;
p2PDataStorage.onBootstrapComplete();
p2PDataStorage.onBootstrapped();
// We don't use a listener at mailboxMessageService as we require the correct
// order of execution. The p2pServiceListeners must be called after

View File

@ -561,7 +561,7 @@ public class P2PDataStorage implements MessageListener, ConnectionListener, Pers
}
}
public void onBootstrapComplete() {
public void onBootstrapped() {
removeExpiredEntriesTimer = UserThread.runPeriodically(this::removeExpiredEntries, CHECK_TTL_INTERVAL_SEC);
}