| Modifier and Type | Method and Description |
|---|---|
static <T> @NonNull ReplayRelay<T> |
ReplayRelay.create()
Creates an unbounded replay relay.
|
static <T> @NonNull ReplayRelay<T> |
ReplayRelay.create(int capacityHint)
Creates an unbounded replay relay with the specified initial buffer capacity.
|
static <T> @NonNull ReplayRelay<T> |
ReplayRelay.createWithSize(int maxSize)
Creates a size-bounded replay relay.
|
static <T> @NonNull ReplayRelay<T> |
ReplayRelay.createWithTime(long maxAge,
java.util.concurrent.TimeUnit unit,
io.reactivex.rxjava3.core.Scheduler scheduler)
Creates a time-bounded replay relay.
|
static <T> @NonNull ReplayRelay<T> |
ReplayRelay.createWithTimeAndSize(long maxAge,
java.util.concurrent.TimeUnit unit,
io.reactivex.rxjava3.core.Scheduler scheduler,
int maxSize)
Creates a time- and size-bounded replay subject.
|
Copyright © 2015-2021. All Rights Reserved.