BAEL-5908: Single.just vs fromCallable

This commit is contained in:
emanueltrandafir1993
2022-12-02 00:48:50 +01:00
parent 26b58e6926
commit 2b2adf56f7
5 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package com.baeldung.rxjava.justvscallable;
public interface EmployeeRepository {
String findById(Long id);
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>