package interning
- Alphabetic
- Public
- Protected
Type Members
- abstract class BenchmarkState extends AnyRef
- Annotations
- @SuppressWarnings() @State()
- class DomainStringIterators extends AnyRef
- class InitializationTimeBenchmark extends BenchmarkState
- trait InternizingStringInterningView extends AnyRef
- trait LoadStringInterningEntries extends AnyRef
Encapsulate the dependency to load a range of string-interning-entries from persistence
- trait StringInterning extends AnyRef
The facade for all supported string-interning domains
The facade for all supported string-interning domains
- Note
The accessors defined in this interface are thread-safe and can be used concurrently with StringInterningView.internize and StringInterningView.update.
- trait StringInterningAccessor[T] extends AnyRef
The main interface for using string-interning.
The main interface for using string-interning. Client code can use this to map between interned id-s and string-domain objects back and forth
- T
is the type of the string-related domain object which is interned
- trait StringInterningDomain[T] extends StringInterningAccessor[T]
Composes a StringInterningAccessor for the domain-string type and an unsafe StringInterningAccessor for raw strings
Composes a StringInterningAccessor for the domain-string type and an unsafe StringInterningAccessor for raw strings
- T
is the type of the string-related domain object which is interned
- class StringInterningView extends StringInterning with InternizingStringInterningView with UpdatingStringInterningView with NamedLogging
This uses the prefixed raw representation internally similar to the persistence layer.
This uses the prefixed raw representation internally similar to the persistence layer. Concurrent view usage is optimized for reading: - The single, volatile reference enables non-synchronized access from all threads, accessing persistent-immutable datastructure - On the writing side it synchronizes (this usage is anyway expected) and maintains the immutable internal datastructure
- class UpdateTimeBenchmark extends BenchmarkState
- trait UpdatingStringInterningView extends AnyRef
Value Members
- object BenchmarkState
- object StringInterningDomain