package util
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- util
- UtilCompat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
SRV = (String, Int)
Host/address and port
- type SRVRecordResolver = (ExecutionContext) ⇒ (String) ⇒ Future[Array[Record]]
-
final
class
SimpleRing[T] extends AnyRef
Note: This class is not thread-safe!
- type TXTResolver = (String) ⇒ Future[ListSet[String]]
-
case class
EitherMappableFuture[A](future: Future[A]) extends Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.8) Unused: will be removed
Value Members
-
def
option[T](cond: ⇒ Boolean, value: ⇒ T): Option[T]
Makes an option of the value matching the condition.
-
def
srvRecords(name: String)(resolver: SRVRecordResolver)(implicit ec: ExecutionContext): Future[List[(String, Int)]]
- name
the DNS name (e.g.
mycluster.mongodb.com
)- resolver
the record resolver
-
def
txtRecords(timeout: FiniteDuration = dnsTimeout)(implicit ec: ExecutionContext): TXTResolver
- timeout
the resolution timeout (default: 5 seconds)
Deprecated Value Members
-
object
EitherMappableFuture extends Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.8) Unused: will be removed
-
object
ExtendedFutures
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.8) Internal: will be made private
-
object
LazyLogger
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private