Packages

class StringInterningView extends StringInterning with InternizingStringInterningView with UpdatingStringInterningView with NamedLogging

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

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringInterningView
  2. NamedLogging
  3. UpdatingStringInterningView
  4. InternizingStringInterningView
  5. StringInterning
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StringInterningView(loggerFactory: NamedLoggerFactory)

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 asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. val domainId: StringInterningDomain[DomainId]
    Definition Classes
    StringInterningViewStringInterning
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def internize(domainStringIterators: DomainStringIterators): Iterable[(Int, String)]

    Internize strings of different domains.

    Internize strings of different domains. The new entries are returend as prefixed entries for persistent storage.

    domainStringIterators

    iterators of the new entires

    returns

    If some of the entries were not part of the view: they will be added, and these will be returned as a interned-id and raw, prefixed string pairs.

    Definition Classes
    StringInterningViewInternizingStringInterningView
    Note

    This method is thread-safe.

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    StringInterningViewNamedLogging
  16. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val party: StringInterningDomain[Party]
    Definition Classes
    StringInterningViewStringInterning
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. val templateId: StringInterningDomain[Identifier]
    Definition Classes
    StringInterningViewStringInterning
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def update(lastStringInterningId: Int)(loadStringInterningEntries: LoadStringInterningEntries): Future[Unit]

    Update the StringInterningView from persistence

    Update the StringInterningView from persistence

    lastStringInterningId

    this is the "version" of the persistent view, which from the StringInterningView can see if it is behind

    returns

    a completion Future: * if the view is behind, it will load the missing entries from persistence, and update the view state. * if the view is ahead, it will remove all entries with ids greater than the lastStringInterningId

    Definition Classes
    StringInterningViewUpdatingStringInterningView
    Note

    This method is NOT thread-safe and should not be called concurrently with itself or InternizingStringInterningView.internize.

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from NamedLogging

Inherited from StringInterning

Inherited from AnyRef

Inherited from Any

Ungrouped