Packages

package util

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

Package Members

  1. package concurrent
  2. package config
  3. package message

Type Members

  1. class LocalMessenger extends Messenger
  2. trait Messenger extends AnyRef
  3. class RemoteMessenger extends Messenger
  4. case class SimpleSocketAddress(hostName: String, port: Int) extends Product with Serializable

    Holds a hostname and a port

    Holds a hostname and a port

    No name resolution.

  5. case class Uri(uri: String) extends Product with Serializable

Value Members

  1. def addMaps[K, V](a: Map[K, V], b: Map[K, V])(fun: (V, V) => V): Map[K, V]

    Merge maps with key collision

    Merge maps with key collision

    fun

    Handles key collision

  2. def addMaps[K, V](a: Map[K, V], b: Map[K, V])(fun: (V, V) => V): Map[K, V]

    Merge maps with key collision

    Merge maps with key collision

    fun

    Handles key collision

  3. def base64(s: String): Array[Byte]
  4. def base64(b: Array[Byte]): String
  5. def chooseNetworkPort(implicit config: ConfigValuesForHostConfiguration): Int
  6. def loadConfig(config: Option[Config]): Config
  7. def openFileInputStream[T](fileName: File)(func: (BufferedInputStream) => T): T

    Opens a buffered java.io.BufferedInputStream on the file.

    Opens a buffered java.io.BufferedInputStream on the file. Closes it after the block is executed.

  8. def readStreamAndClose(is: InputStream): Iterator[Byte] { ... /* 2 definitions in type refinement */ }

    Returns an iterator on the InputStream's data.

    Returns an iterator on the InputStream's data.

    Closes the stream when read through.

  9. def rethrow[T](messageOnError: => String)(block: => T): T
  10. def rethrow[T](messageOnError: => String, exceptionFactory: (=> String, Throwable) => Throwable)(block: => T): T
  11. def retry[T](n: Int)(fn: => T): Try[T]

    Retry the given block n times.

    Retry the given block n times.

    Annotations
    @tailrec()
  12. def retryIO[A](tag: String)(f: => IO[A], c: Int)(implicit log: Logger): IO[A]
  13. def rightOrThrow[A, E](e: Either[E, A]): A
  14. def stackTraceAsString(t: Any): String
  15. def useResource[A <: AnyRef { def close(): Unit }, B](param: A)(f: (A) => B): B

    Returns the result of the block, and closes the resource.

    Returns the result of the block, and closes the resource.

    param

    closeable resource

    f

    block using the resource

  16. def writeBinaryToFile(fileName: String, data: Array[Byte]): Unit

    Writes binary data to file.

  17. object Actor
  18. object Aes
  19. object LocalMessenger
  20. object Messenger
  21. object RemoteMessenger
  22. object TempFile
  23. object Uri extends Serializable
  24. object eq

    Type safe equality http://hseeberger.github.io/blog/2013/05/31/implicits-unchained-type-safe-equality-part2/

Inherited from AnyRef

Inherited from Any

Ungrouped