Packages

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
  2. trait Logging extends AnyRef

    Trait to mixin a slf4j Logger object.

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

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

    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

    Trait to mixin a slf4j Logger object.

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

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

    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]

    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

    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

    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

    Object containing geo-location functions.

  2. object Implicits

    Object containing implicit classes and methods of general purpose.

  3. object JreVersionHelper extends JreVersionHelper
  4. object NetUtils

    Object containing network utility methods.

  5. object Reflect

    Object containing reflection-related helpers.

  6. object Retry

    Utility object for retrying Future a number of times.

Deprecated Value Members

  1. object Benchmark

    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

    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

    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

    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