Package

eu.shiftforward

apso

Permalink

package apso

Contains ShiftForward's general-purpose utility classes and methods, as well as extensions of existing ones.

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

Type Members

  1. trait JreVersionHelper extends AnyRef

    Permalink
  2. trait Logging extends AnyRef

    Permalink

    Trait to mixin a Log4j2 Logger object.

    Trait to mixin a Log4j2 Logger object. The Logger object is initialized lazily.

  3. trait NamedActorLogging extends ActorLogging

    Permalink
  4. case class ProgressBar(total: Long = 100, width: Int = 80, throughputUnit: String = "ops", throughputTransformer: (Double) ⇒ Double = identity) extends Product with Serializable

    Permalink

    A widget for printing a dynamic progress bar in a console.

    A widget for printing a dynamic progress bar in a console.

    total

    the number representing the full progress bar

    width

    the line width of the progress bar

    throughputUnit

    the throughput unit that is being measured

    throughputTransformer

    a function to transform the measured throughput value, before displaying it

  5. trait StrictLogging extends AnyRef

    Permalink

    Trait to mixin a Log4j2 Logger object.

    Trait to mixin a Log4j2 Logger object. The Logger object is initialized strictly.

  6. case class ExpSampler[T](base: Double = 2.0) extends Sampler[T] with Product with Serializable

    Permalink

    Sampler in which sampling level ratios are distributed in an exponential way.

    Sampler in which sampling level ratios are distributed in an exponential way. More formally, each sampling level corresponds to a sample with 1.0 / pow(base, level) * 100% of the original size.

    T

    the type of the elements of the sequence

    base

    the base to use for calculating the ratios, as described above

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  7. trait FallbackToMinimum[T] extends Sampler[T]

    Permalink

    Mixin that modifies an existing sampler by setting a minimum ratio for any sampling level.

    Mixin that modifies an existing sampler by setting a minimum ratio for any sampling level. Mixing this trait in, levels which previously corresponded to a sampling ratio below the minimum defined use that minimum.

    T

    the type of the elements of the sequence

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  8. case class ListSampler[T](list: Double*) extends Sampler[T] with Product with Serializable

    Permalink

    Sampler in which ratios for each sampling level are given explicitly as a list.

    Sampler in which ratios for each sampling level are given explicitly as a list.

    T

    the type of the elements of the sequence

    list

    the sampling ratios to use in which sampling level

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  9. trait Sampler[T] extends AnyRef

    Permalink

    Class that encapsulates a sampling strategy over a sequence of elements.

    Class that encapsulates a sampling strategy over a sequence of elements.

    T

    the type of the elements of the sequence

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

    To do

    move the type parameter T to the apply method.

Value Members

  1. object Geo

    Permalink

    Object containing geo-location functions.

  2. object Implicits

    Permalink

    Object containing implicit classes and methods of general purpose.

  3. object JreVersionHelper extends JreVersionHelper

    Permalink
  4. object NetUtils

    Permalink

    Object containing network utility methods.

  5. object Reflect

    Permalink

    Object containing reflection-related helpers.

  6. object Retry

    Permalink

    Utility object with retry mechanisms.

  7. object TryWith

    Permalink

    Mimics the try-with-resource construct from Java world, or a loan pattern, where a given function can try to use a Closeable resource which shall be disposed off and closed properly afterwards.

  8. package actor

    Permalink
  9. package akka

    Permalink
  10. package aws

    Permalink

    Wrappers around the AWS Java client libraries providing higher level interfaces.

  11. package caching

    Permalink
  12. package collection

    Permalink

    Provides new types of collections and utility classes and methods for handling and extending existing ones.

  13. package config

    Permalink
  14. package encryption

    Permalink
  15. package hashing

    Permalink

    Provides hashing-related utilities.

  16. package http

    Permalink
  17. package io

    Permalink
  18. package iterator

    Permalink

    Provides new types of iterators and utility classes and methods for handling and extending existing ones.

  19. package json

    Permalink

    Provides utility classes and methods related to JSON handling.

  20. package profiling

    Permalink
  21. package scalaz

    Permalink

    Provides utility classes and methods related to scalaz classes.

  22. package time

    Permalink

    Provides utility classes and methods related to datetime libraries.

Deprecated Value Members

  1. object Benchmark

    Permalink

    Utility object for measuring the running time of a block of code.

    Utility object for measuring the running time of a block of code.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  2. object CounterPair

    Permalink

    Factory and extractor for packing two numbers in the range of an unsigned short (0 to 65535) in an Int.

    Factory and extractor for packing two numbers in the range of an unsigned short (0 to 65535) in an Int.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  3. object OrderingHelper

    Permalink

    Object containing utilities related to ordered objects.

    Object containing utilities related to ordered objects.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) Use Ordering[A].min and Ordering[A].max instead

  4. object ShellRun extends Product with Serializable

    Permalink

    Wrapper around Scala's process library that facilitates the launching of shell commands.

    Wrapper around Scala's process library that facilitates the launching of shell commands.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

Inherited from AnyRef

Inherited from Any

Ungrouped