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. 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

  2. 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

  3. trait JreVersionHelper extends AnyRef

    Permalink
  4. 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

  5. trait Logging extends AnyRef

    Permalink

    Trait to mixin a slf4j Logger object.

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

  6. trait NamedActorLogging extends ActorLogging

    Permalink
  7. 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

  8. 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

    To do

    move the type parameter T to the apply method.

  9. trait StrictLogging extends AnyRef

    Permalink

    Trait to mixin a slf4j Logger object.

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

Value Members

  1. object Benchmark

    Permalink

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

  2. object CounterPair

    Permalink

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

  3. object Geo

    Permalink

    Object containing geo-location functions.

  4. object Implicits

    Permalink

    Object containing implicit classes and methods of general purpose.

  5. object JreVersionHelper extends JreVersionHelper

    Permalink
  6. object NetUtils

    Permalink

    Object containing network utility methods.

  7. object OrderingHelper

    Permalink

    Object containing utilities related to ordered objects.

  8. object Reflect

    Permalink

    Object containing reflection-related helpers.

  9. object Retry

    Permalink

    Utility object for retrying Future a number of times.

  10. object ShellRun extends Product with Serializable

    Permalink

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

  11. package actor

    Permalink
  12. package akka

    Permalink
  13. package aws

    Permalink

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

  14. package caching

    Permalink
  15. package collection

    Permalink

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

  16. package config

    Permalink
  17. package encryption

    Permalink
  18. package hashing

    Permalink

    Provides hashing-related utilities.

  19. package http

    Permalink
  20. package io

    Permalink
  21. package iterator

    Permalink

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

  22. package json

    Permalink

    Provides utility classes and methods related to JSON handling.

  23. package profiling

    Permalink
  24. package scalaz

    Permalink

    Provides utility classes and methods related to scalaz classes.

  25. package spray

    Permalink

    Provides utility classes and methods related to spray classes.

  26. package time

    Permalink

    Provides utility classes and methods related to datetime libraries.

Inherited from AnyRef

Inherited from Any

Ungrouped