projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: Simplified shutdown - channel-tasks were joined multiple times
[demos/kafka/chat]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
domain
/
ChatHomeService.java
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
b/src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
index
5508f24
..
19fa26c
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
@@
-1,9
+1,20
@@
package de.juplo.kafka.chat.backend.domain;
package de.juplo.kafka.chat.backend.domain;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
import java.util.UUID;
import java.util.UUID;
-public interface ChatHomeService
<T extends ChatroomService>
+public interface ChatHomeService
{
{
- ChatRoom createChatroom(UUID id, String name);
+ Mono<ChatRoomInfo> createChatRoom(UUID id, String name);
+
+ Mono<ChatRoomInfo> getChatRoomInfo(UUID id);
+
+ Flux<ChatRoomInfo> getChatRoomInfo();
+
+ Mono<ChatRoomData> getChatRoomData(UUID id);
+
+ Mono<String[]> getShardOwners();
}
}