Package | Description |
---|---|
io.reactivex.subjects |
Classes representing so-called hot sources, aka subjects, that implement a base reactive class and
the respective consumer type at once to allow forms of multicasting events to multiple
consumers as well as consuming another base reactive type of their kind.
|
Modifier and Type | Method and Description |
---|---|
static <T> ReplaySubject<T> |
ReplaySubject.create()
Creates an unbounded replay subject.
|
static <T> ReplaySubject<T> |
ReplaySubject.create(int capacityHint)
Creates an unbounded replay subject with the specified initial buffer capacity.
|
static <T> ReplaySubject<T> |
ReplaySubject.createWithSize(int maxSize)
Creates a size-bounded replay subject.
|
static <T> ReplaySubject<T> |
ReplaySubject.createWithTime(long maxAge,
TimeUnit unit,
Scheduler scheduler)
Creates a time-bounded replay subject.
|
static <T> ReplaySubject<T> |
ReplaySubject.createWithTimeAndSize(long maxAge,
TimeUnit unit,
Scheduler scheduler,
int maxSize)
Creates a time- and size-bounded replay subject.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.