Packages

t

com.reactific.helpers

AbstractRegistry

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
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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def _register(key: K, obj: V): obj.type
    Attributes
    protected
  5. final def _unregister(key: K): Unit
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(key: K): Boolean
  9. def containsValue(value: V): Boolean
  10. def createLoggerName: String
    Attributes
    protected
    Definition Classes
    LoggingHelper
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def exists(name: K): Boolean
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. def isEmpty: Boolean
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def keys: Seq[K]
  20. def level: Level
    Definition Classes
    LoggingHelper
  21. lazy val log: Logger
    Attributes
    protected
    Definition Classes
    LoggingHelper
  22. def loggerName: String
    Definition Classes
    LoggingHelper
  23. def lookup(key: K): Option[V]
  24. def lookupOrElse(key: K, value: V): Option[V]
  25. def map[W](f: ((K, V)) ⇒ (K, W)): Map[K, W]
  26. def mkThrowable(msg: String, cause: Option[Throwable] = None): ThrowableWithComponent
    Attributes
    protected
    Definition Classes
    ThrowingHelper
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def nonEmpty: Boolean
  29. def notImplemented(what: String): Nothing
    Definition Classes
    ThrowingHelper
  30. final def notify(): Unit
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  32. def pick(index: Int): K
  33. def select(f: ((K, V)) ⇒ Boolean): Iterable[V]
  34. def size: Int
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def toss(msg: ⇒ String, cause: Option[Throwable] = None): Nothing

    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]
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ThrowingHelper

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Ungrouped