ConnectionPool

Author

Jordan Abraham

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun add(element: Client): Boolean
Link copied to clipboard
open override fun addAll(elements: Collection<Client>): Boolean
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open operator override fun contains(element: Client): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Client>): Boolean
Link copied to clipboard

Close all clients inside of this connection pool and set the accepting to false so this pool no longer accepts connections.

Link copied to clipboard
open fun forEach(p0: Consumer<in Client>)
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): MutableIterator<Client>
Link copied to clipboard
Link copied to clipboard
open override fun remove(element: Client): Boolean
Link copied to clipboard
open override fun removeAll(elements: Collection<Client>): Boolean
Link copied to clipboard
open fun removeIf(p0: Predicate<in Client>): Boolean
Link copied to clipboard
open override fun retainAll(elements: Collection<Client>): Boolean
Link copied to clipboard
open override fun spliterator(): Spliterator<Client>
Link copied to clipboard
open fun stream(): Stream<Client>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>

Properties

Link copied to clipboard

This property is to check if this connection pool is accepting new connections or not.

Link copied to clipboard
open override val size: Int