tasks.util

package tasks.util

Members list

Type members

Experimental classlikes

object Actor

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
Actor.type
object Aes

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
Aes.type

Attributes

Companion
class
Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
class LocalMessenger(val channels: Ref[IO, Map[Address, Channel[IO, Message]]]) extends Messenger

Attributes

Companion
object
Experimental
true
Supertypes
trait Messenger
class Object
trait Matchable
class Any
trait Messenger

Attributes

Companion
object
Experimental
true
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Messenger

Attributes

Companion
trait
Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
Messenger.type
class RemoteMessenger(client: Client[IO], listeningUri: Uri, peerUri: Uri, localMessenger: LocalMessenger) extends Messenger

Attributes

Companion
object
Experimental
true
Supertypes
trait Messenger
class Object
trait Matchable
class Any

Attributes

Companion
class
Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
case class SimpleSocketAddress(hostName: String, port: Int)

Holds a hostname and a port

Holds a hostname and a port

No name resolution.

Attributes

Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TempFile

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
TempFile.type
case class Uri(uri: String)

Attributes

Companion
object
Experimental
true
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Uri

Attributes

Companion
class
Experimental
true
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Uri.type
object eq

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

Attributes

Experimental
true
Supertypes
class Object
trait Matchable
class Any
Self type
eq.type

Value members

Experimental methods

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

Value parameters

fun

Handles key collision

Attributes

Experimental
true
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

Value parameters

fun

Handles key collision

Attributes

Experimental
true
def base64(b: Array[Byte]): String

Attributes

Experimental
true
def base64(s: String): Array[Byte]

Attributes

Experimental
true

Attributes

Experimental
true
def loadConfig(config: Option[Config]): Config

Attributes

Experimental
true
def openFileInputStream[T](fileName: File)(func: BufferedInputStream => T): T

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

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

Attributes

Experimental
true
def readStreamAndClose(is: InputStream): Iterator[Byte]

Returns an iterator on the InputStream's data.

Returns an iterator on the InputStream's data.

Closes the stream when read through.

Attributes

Experimental
true
def rethrow[T](messageOnError: => String, exceptionFactory: (=> String, Throwable) => Throwable)(block: => T): T

Attributes

Experimental
true
def rethrow[T](messageOnError: => String)(block: => T): T

Attributes

Experimental
true
def retry[T](n: Int)(fn: => T): Try[T]

Retry the given block n times.

Retry the given block n times.

Attributes

Experimental
true
def retryIO[A](tag: String)(f: => IO[A], c: Int)(implicit log: Logger): IO[A]

Attributes

Experimental
true
def rightOrThrow[A, E](e: Either[E, A]): A

Attributes

Experimental
true
def stackTraceAsString(t: Any): String

Attributes

Experimental
true
def useResource[A <: { 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.

Value parameters

f

block using the resource

param

closeable resource

Attributes

Experimental
true
def writeBinaryToFile(fileName: String, data: Array[Byte]): Unit

Writes binary data to file.

Writes binary data to file.

Attributes

Experimental
true