Packages

package util

Linear Supertypes
UtilCompat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. UtilCompat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class EitherMappableFuture[A](future: Future[A]) extends Product with Serializable
  2. type SRV = (String, Int)

    Host/address and port

  3. type SRVRecordResolver = (ExecutionContext) => (String) => Future[Array[Record]]
  4. final class SimpleRing[T] extends AnyRef

    Note: This class is not thread-safe!

  5. type TXTResolver = (String) => Future[ListSet[String]]

Value Members

  1. def option[T](cond: => Boolean, value: => T): Option[T]

    Makes an option of the value matching the condition.

  2. 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

  3. def txtRecords(timeout: FiniteDuration = dnsTimeout)(implicit ec: ExecutionContext): TXTResolver

    timeout

    the resolution timeout (default: 5 seconds)

  4. object EitherMappableFuture extends Serializable
  5. object ExtendedFutures
  6. object LazyLogger

Inherited from UtilCompat

Inherited from AnyRef

Inherited from Any

Ungrouped