Trait

com.reactific.helpers

AbstractRegistry

Related Doc: package helpers

Permalink

trait AbstractRegistry[K, V <: AnyRef] extends LoggingHelper with ThrowingHelper

Abstract Registry Of Key-Value Pairs This trait implements a key-value map using ConcurrentHashMap to minimize lock contention for multiple threads accessing the registry. It is intended to identify race conditions upon insertion and deletion of entries.

K

The type of Key

V

The type of Value

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractRegistry
  2. ThrowingHelper
  3. LoggingHelper
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to any2stringadd[AbstractRegistry[K, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AbstractRegistry[K, V], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to ArrowAssoc[AbstractRegistry[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def _register(key: K, obj: V): obj.type

    Permalink
    Attributes
    protected
  7. final def _unregister(key: K): Unit

    Permalink
    Attributes
    protected
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(key: K): Boolean

    Permalink
  11. def containsValue(value: V): Boolean

    Permalink
  12. def createLoggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  13. def ensuring(cond: (AbstractRegistry[K, V]) ⇒ Boolean, msg: ⇒ Any): AbstractRegistry[K, V]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to Ensuring[AbstractRegistry[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (AbstractRegistry[K, V]) ⇒ Boolean): AbstractRegistry[K, V]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to Ensuring[AbstractRegistry[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): AbstractRegistry[K, V]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to Ensuring[AbstractRegistry[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): AbstractRegistry[K, V]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to Ensuring[AbstractRegistry[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def exists(name: K): Boolean

    Permalink
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to StringFormat[AbstractRegistry[K, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def isEmpty: Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def keys: Seq[K]

    Permalink
  27. def level: Level

    Permalink
    Definition Classes
    LoggingHelper
  28. lazy val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  29. def loggerName: String

    Permalink
    Definition Classes
    LoggingHelper
  30. def lookup(key: K): Option[V]

    Permalink
  31. def lookupOrElse(key: K, value: V): Option[V]

    Permalink
  32. def map[W](f: ((K, V)) ⇒ (K, W)): Map[K, W]

    Permalink
  33. def mkThrowable(msg: String, cause: Option[Throwable] = None): ThrowableWithComponent

    Permalink
    Attributes
    protected
    Definition Classes
    ThrowingHelper
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def nonEmpty: Boolean

    Permalink
  36. def notImplemented(what: String): Nothing

    Permalink
    Definition Classes
    ThrowingHelper
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. def pick(index: Int): K

    Permalink
  40. def select(f: ((K, V)) ⇒ Boolean): Iterable[V]

    Permalink
  41. def size: Int

    Permalink
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def toss(msg: ⇒ String, cause: Option[Throwable] = None): Nothing

    Permalink

    Identity Aware Exception Toss This function makes it easier to throw (toss) an exception that adds a message to it and also identifies the tosser that threw it.

    Identity Aware Exception Toss This function makes it easier to throw (toss) an exception that adds a message to it and also identifies the tosser that threw it. This helps track down where in the code the message was thrown from.

    msg

    - Message to add to the exception

    cause

    - The root cause exception

    Definition Classes
    ThrowingHelper
  45. def values: Seq[V]

    Permalink
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def [B](y: B): (AbstractRegistry[K, V], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractRegistry[K, V] to ArrowAssoc[AbstractRegistry[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ThrowingHelper

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AbstractRegistry[K, V] to any2stringadd[AbstractRegistry[K, V]]

Inherited by implicit conversion StringFormat from AbstractRegistry[K, V] to StringFormat[AbstractRegistry[K, V]]

Inherited by implicit conversion Ensuring from AbstractRegistry[K, V] to Ensuring[AbstractRegistry[K, V]]

Inherited by implicit conversion ArrowAssoc from AbstractRegistry[K, V] to ArrowAssoc[AbstractRegistry[K, V]]

Ungrouped