package util
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- util
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def addMaps[K, V](a: Map[K, V], b: Map[K, V])(fun: (V, V) ⇒ V): Map[K, V]
- def addMaps[K, V](a: Map[K, V], b: Map[K, V])(fun: (V, V) ⇒ V): Map[K, V]
- def base64(s: String): Array[Byte]
- def base64(b: Array[Byte]): String
- def chooseNetworkPort(implicit config: TasksConfig): Int
- def exec(pb: ProcessBuilder)(stdOutFunc: (String) ⇒ Unit)(implicit stdErrFunc: (String) ⇒ Unit): Int
- def execGetStreamsAndCode(pb: ProcessBuilder, unsuccessfulOnErrorStream: Boolean): (List[String], List[String], Boolean)
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
- def openFileInputStream[T](fileName: File)(func: (BufferedInputStream) ⇒ T): T
- def openFileOutputStream[T](fileName: File, append: Boolean)(func: (BufferedOutputStream) ⇒ T): T
- def readBinaryFile(f: File): Array[Byte]
- def readBinaryFile(fileName: String): Array[Byte]
- def readBinaryStream(f: InputStream): Array[Byte]
- def readStreamAndClose(is: InputStream): Iterator[Byte] { ... /* 2 definitions in type refinement */ }
- def reflectivelyInstantiateObject[A](fqcn: String): A
- def rethrow[T](messageOnError: ⇒ String)(block: ⇒ T): T
- def rethrow[T](messageOnError: ⇒ String, exceptionFactory: (⇒ String, Throwable) ⇒ Throwable)(block: ⇒ T): T
-
def
retry[T](n: Int)(fn: ⇒ T): Try[T]
- Annotations
- @tailrec()
- def retryFuture[A](tag: String)(f: ⇒ Future[A], c: Int)(implicit as: ActorSystem, ec: ExecutionContext, log: LoggingAdapter): Future[A]
- def rightOrThrow[A, E](e: Either[E, A]): A
- def stackTraceAsString(t: Any): String
- def useResource[A <: AnyRef { def close(): Unit }, B](param: A)(f: (A) ⇒ B): B
- def writeBinaryToFile(data: Array[Byte]): File
- def writeBinaryToFile(file: File, data: Array[Byte]): Unit
- def writeBinaryToFile(fileName: String, data: Array[Byte]): Unit
- def writeToFile(file: File, data: String): Unit
- def writeToFile(fileName: String, data: String): Unit
- object EC2Operations