package
oslo
Value Members
-
val
ByteUnit: String
-
-
val
BytesPerKilobyte: Int
-
implicit
def
CloseCloser[A <: AnyRef { def close(): Unit }](a: A): Unit
-
implicit
def
NoOpCloser[A](a: A): Unit
-
implicit
def
ShutdownCloser[A <: AnyRef { def shutdown(): Unit }](a: A): Unit
-
implicit
def
StopCloser[A <: AnyRef { def stop(): Unit }](a: A): Unit
-
implicit
val
defaultPollUntilConfig: PollUntilConfig
-
def
logElapsedTime[Result](logger: (String) ⇒ Unit)(block: ⇒ Result): Result
-
def
logStatus[A](blockName: String, logger: (String) ⇒ Unit)(block: ⇒ A): A
-
def
logStatus[A](logger: (String) ⇒ Unit)(block: ⇒ A): A
-
-
-
-
-
-
-
-
-
def
partialTap[A](a: A)(pf: PartialFunction[A, Any]): A
-
-
-
-
def
sleep(millis: Long): Unit
-
def
sleep(millis: Int): Unit
-
def
sleep(millis: Short): Unit
-
-
def
tap[A](a: A)(f: (A) ⇒ Any): A
-
def
time[A](block: ⇒ A)(f: (A, FiniteDuration) ⇒ Unit): A
-
def
using[A, B](resource: A)(f: (A) ⇒ B)(implicit closer: (A) ⇒ Unit): B