@Deprecated public class RSocketSupplierPool extends Object implements Supplier<Optional<RSocketSupplier>>, Consumer<RSocketSupplier>, io.rsocket.Closeable
Disposable.Composite, Disposable.Swap| Constructor and Description |
|---|
RSocketSupplierPool(org.reactivestreams.Publisher<? extends Collection<RSocketSupplier>> publisher)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(RSocketSupplier rSocketSupplier)
Deprecated.
|
void |
dispose()
Deprecated.
|
Optional<RSocketSupplier> |
get()
Deprecated.
|
boolean |
isPoolEmpty()
Deprecated.
|
Mono<Void> |
onClose()
Deprecated.
|
int |
poolSize()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDisposedpublic RSocketSupplierPool(org.reactivestreams.Publisher<? extends Collection<RSocketSupplier>> publisher)
public void accept(RSocketSupplier rSocketSupplier)
accept in interface Consumer<RSocketSupplier>public Optional<RSocketSupplier> get()
get in interface Supplier<Optional<RSocketSupplier>>public Mono<Void> onClose()
onClose in interface io.rsocket.Closeablepublic void dispose()
dispose in interface Disposablepublic int poolSize()
public boolean isPoolEmpty()