Class Publishers
- java.lang.Object
-
- com.oracle.coherence.spring.messaging.Publishers
-
public class Publishers extends Object
Publisher
related helper class.- Since:
- 3.0
- Author:
- Vaso Putica
-
-
Constructor Summary
Constructors Constructor Description Publishers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
convertPublisher(Object object, Class<T> publisherType)
static <T> org.reactivestreams.Publisher<T>
fromCompletableFuture(Supplier<CompletableFuture<T>> futureSupplier)
static boolean
isConvertibleToPublisher(Class<?> type)
static boolean
isSingle(Class<?> type)
-
-
-
Method Detail
-
isConvertibleToPublisher
public static boolean isConvertibleToPublisher(Class<?> type)
-
isSingle
public static boolean isSingle(Class<?> type)
-
fromCompletableFuture
public static <T> org.reactivestreams.Publisher<T> fromCompletableFuture(Supplier<CompletableFuture<T>> futureSupplier)
-
-