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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractRegistry
  2. ThrowingHelper
  3. LoggingHelper
  4. AnyRef
  5. Any
  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. final def ==(arg0: Any): Boolean

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

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

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

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

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

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

    Permalink
  10. def createLoggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

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

    Permalink
  18. final def isInstanceOf[T0]: Boolean

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

    Permalink
  20. def level: Level

    Permalink
    Definition Classes
    LoggingHelper
  21. lazy val log: Logger

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def nonEmpty: Boolean

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

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

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

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

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

    Permalink
  34. def size: Int

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  37. 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
  38. def values: Seq[V]

    Permalink
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ThrowingHelper

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Ungrouped