Class/Object

razie.wiki.model

WikiIndex

Related Docs: object WikiIndex | package model

Permalink

class WikiIndex extends AnyRef

in-mem index of wikis, labels, tags and main assocs

maintained in sync in a cluster

the index is (name, WID, ID)

todo mt-safe - swap maps on update

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WikiIndex
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WikiIndex(realm: String, fallBacks: List[WikiIndex])

    Permalink

Type Members

  1. case class PEntry(ilinks: List[ILink]) extends Product with Serializable

    Permalink

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 asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def containsLower(name: String): Boolean

    Permalink
  7. def containsName(name: String): Boolean

    Permalink
  8. def create(we: WikiEntry): Unit

    Permalink

    call when new wiki created - add it to the index

  9. def delete(wid: WID, id: com.mongodb.casbah.Imports.ObjectId): Option[PEntry]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val fallBacks: List[WikiIndex]

    Permalink
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getForLower(name: String): Option[String]

    Permalink
  16. def getOptions(cat: String, str: String, cnt: Int): List[String]

    Permalink
  17. def getWids(name: String): List[WID]

    Permalink

    get list of wids that matches the name

  18. def graph(oid: com.mongodb.casbah.Imports.ObjectId): PEntry

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def label(name: String): Option[String]

    Permalink
  22. val mixins: Mixins[WikiIndex]

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. def random: Option[WID]

    Permalink

    returns a random WID from index - keep calling until isDefined

  27. val realm: String

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def update(oldVer: WikiEntry, newVer: WikiEntry): Unit

    Permalink
  31. def update(neww: WID, oldw: WID): Unit

    Permalink

    update from remote - in case there is no old version

  32. lazy val usedTags: HashMap[String, String]

    Permalink
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withIndex[A](f: (TripleIdx[String, WID, com.mongodb.casbah.Imports.ObjectId]) ⇒ A): A

    Permalink

    the index is (name, WID, ID)

Inherited from AnyRef

Inherited from Any

Ungrouped