Class PoolHolder
java.lang.Object
io.github.simplexdevelopment.impl.PoolHolder
- All Implemented Interfaces:
Context<ServicePool>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull reactor.core.publisher.Mono<ServicePool>@NotNull reactor.core.publisher.Mono<Void>setContext(ServicePool context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.simplexdevelopment.api.Context
fluxFromCollection
-
Constructor Details
-
PoolHolder
-
-
Method Details
-
getContext
- Specified by:
getContextin interfaceContext<ServicePool>- Returns:
- A Mono object which contains a single element represented by the definer of this Context class.
-
setContext
- Specified by:
setContextin interfaceContext<ServicePool>- Parameters:
context- A separate (or identical) object identified by the definer of this Context class.- Returns:
- A Mono object which can be used to set the element of this Context class in a non-blocking manner.
-
contextCollection
- Specified by:
contextCollectionin interfaceContext<ServicePool>- Returns:
- A collection of objects related to the definer of this Context class.
-