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
- Alphabetic
- By Inheritance
- AbstractRegistry
- ThrowingHelper
- LoggingHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
_register(key: K, obj: V): obj.type
- Attributes
- protected
-
final
def
_unregister(key: K): Unit
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def contains(key: K): Boolean
- def containsValue(value: V): Boolean
-
def
createLoggerName: String
- Attributes
- protected
- Definition Classes
- LoggingHelper
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def exists(name: K): Boolean
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keys: Seq[K]
-
def
level: Level
- Definition Classes
- LoggingHelper
-
lazy val
log: Logger
- Attributes
- protected
- Definition Classes
- LoggingHelper
-
def
loggerName: String
- Definition Classes
- LoggingHelper
- def lookup(key: K): Option[V]
- def lookupOrElse(key: K, value: V): Option[V]
- def map[W](f: ((K, V)) ⇒ (K, W)): Map[K, W]
-
def
mkThrowable(msg: String, cause: Option[Throwable] = None): ThrowableWithComponent
- Attributes
- protected
- Definition Classes
- ThrowingHelper
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
-
def
notImplemented(what: String): Nothing
- Definition Classes
- ThrowingHelper
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def pick(index: Int): K
- def select(f: ((K, V)) ⇒ Boolean): Iterable[V]
- def size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- def values: Seq[V]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )