projects
/
demos
/
kafka
/
chat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0efbd
)
refactor: Renamed method in `InfoChannel` according to conventions
author
Kai Moritz
<kai@juplo.de>
Sat, 3 Feb 2024 14:13:09 +0000
(15:13 +0100)
committer
Kai Moritz
<kai@juplo.de>
Sat, 3 Feb 2024 14:37:02 +0000
(15:37 +0100)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ConsumerTaskRunner.java
patch
|
blob
|
history
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ConsumerTaskRunner.java
b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ConsumerTaskRunner.java
index
983ebd3
..
c2c2801
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ConsumerTaskRunner.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ConsumerTaskRunner.java
@@
-21,7
+21,7
@@
public class ConsumerTaskRunner
public void joinConsumerTasks() throws InterruptedException
{
dataChannelConsumerTaskExecutor.joinConsumerTaskJob();
- while (infoChannel.
l
oadInProgress())
+ while (infoChannel.
isL
oadInProgress())
{
log.info("Waiting for {} to finish loading...", infoChannel);
Thread.sleep(1000);
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java
b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java
index
cf4d03c
..
3429d40
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java
@@
-68,7
+68,7
@@
public class InfoChannel implements Runnable
}
- boolean
l
oadInProgress()
+ boolean
isL
oadInProgress()
{
return IntStream
.range(0, numShards)