lettucef-extras
lettucef-extras
dev.naoh.lettucef.api.extras
ResourcePool
ResourcePool
PoolLifecycleViolation
dev.naoh.lettucef.extras
GenResourcePool
State
State
SizedQueue
SizedQueue
lettucef-extras
/
dev.naoh.lettucef.extras
/
GenResourcePool
/
State
State
final case
class
State
[F[_], A](active:
Int
, queue:
SizedQueue
[
Peaked
[
F
,
A
]], finalizer:
Option
[
F
[
Unit
]])
Companion
object
Graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
deactivate1
: (
State
[
F
,
A
],
Option
[
F
[
Unit
]])
def
push1
(b:
Peaked
[
F
,
A
], maxQueue:
Int
): (
State
[
F
,
A
],
List
[
F
[
Unit
]])
def
release
():
List
[
F
[
Unit
]]
def
setFinalizer
(fu:
F
[
Unit
]): (
State
[
F
,
A
],
List
[
F
[
Unit
]])
def
take1
: (
State
[
F
,
A
],
Either
[
Boolean
,
Peaked
[
F
,
A
]])
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Inherited from
Product
def
productIterator
:
Iterator
[
Any
]
Inherited from
Product