trait SingleStores extends AnyRef

Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleStores
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val hierarchyStore: ActorRef
  2. abstract val latestStore: ActorRef
  3. abstract val pollDataStore: ActorRef
  4. abstract val settings: OmiConfigExtension
    Attributes
    protected
  5. abstract val subStore: ActorRef
  6. implicit abstract val system: ActorSystem

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from SingleStores to any2stringadd[SingleStores] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SingleStores, B)
    Implicit
    This member is added by an implicit conversion from SingleStores to ArrowAssoc[SingleStores] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addPollData(id: Long, path: Path, value: Value[Any]): Future[Unit]
  7. def addSub(pollSub: PolledSub): Future[Unit]
  8. def addSub(intervalSub: IntervalSub): Future[Unit]
  9. def addSub(eventSub: EventSub): Future[Unit]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def buildODFFromValues(items: Seq[(Path, Value[Any])]): ODF
  12. def checkSubData(id: Long): Future[Map[Path, Seq[Value[Any]]]]
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def ensuring(cond: (SingleStores) ⇒ Boolean, msg: ⇒ Any): SingleStores
    Implicit
    This member is added by an implicit conversion from SingleStores to Ensuring[SingleStores] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (SingleStores) ⇒ Boolean): SingleStores
    Implicit
    This member is added by an implicit conversion from SingleStores to Ensuring[SingleStores] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): SingleStores
    Implicit
    This member is added by an implicit conversion from SingleStores to Ensuring[SingleStores] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): SingleStores
    Implicit
    This member is added by an implicit conversion from SingleStores to Ensuring[SingleStores] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def erasePathData(path: Path): Future[Unit]
  21. def erasePathHierarchy(path: Path): Future[Unit]
  22. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SingleStores to StringFormat[SingleStores] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def getAllEventSubs(): Future[Set[EventSub]]
  25. def getAllIntervalSubs(): Future[Set[IntervalSub]]
  26. def getAllPollSubs(): Future[Set[PolledSub]]
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def getHierarchyTree(): Future[ImmutableODF]
  29. def getIntervalSub(id: Long): Future[Option[IntervalSub]]
  30. def getMetaData(path: Path)(implicit timeout: Timeout): Future[Option[MetaData]]
  31. def getNewEventSubsForPath(path: Path): Future[Set[PollNewEventSub]]
  32. def getSingle(path: Path)(implicit timeout: Timeout): Future[Option[Node]]
  33. def getSubsForPath(path: Path): Future[Set[NotNewEventSub]]
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. val log: LoggingAdapter
  37. def lookupEventSubs(path: Path): Future[Seq[NormalEventSub]]
  38. def lookupNewEventSubs(path: Path): Future[Seq[NewEventSub]]
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. def pollEventSubscrpition(id: Long): Future[Map[Path, Seq[Value[Any]]]]
  43. def pollIntervalSubscription(id: Long): Future[Map[Path, Seq[Value[Any]]]]
  44. def pollSubscription(id: Long): Future[Option[PolledSub]]
  45. def processData(path: Path, newValue: Value[Any], oldValueOpt: Option[Value[Any]]): Option[InfoItemEvent]

    Main function for handling incoming data and running all event-based subscriptions.

    Main function for handling incoming data and running all event-based subscriptions. As a side effect, updates the internal latest value store. Event callbacks are not sent for each changed value, instead event results are returned for aggregation and other extra functionality.

    path

    Path to incoming data

    newValue

    Actual incoming data

    returns

    Triggered responses

  46. def readAll(): Future[Map[Path, Value[Any]]]
  47. def readValue(path: Path): Future[Option[Value[Any]]]
  48. def readValues(paths: Seq[Path]): Future[Seq[(Path, Value[Any])]]
  49. def removeEventSub(id: Long): Future[Boolean]
  50. def removeIntervalSub(id: Long): Future[Boolean]
  51. def removePollSub(id: Long): Future[Boolean]
  52. def removePollSubData(id: Long): Future[Unit]
  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. def takeSnapshot: Future[Any]
  55. implicit val timeout: Timeout
  56. def toString(): String
    Definition Classes
    AnyRef → Any
  57. def updateHierarchyTree(tree: ImmutableODF): Future[Unit]
  58. def valueShouldBeUpdated(oldValue: Value[Any], newValue: Value[Any]): Boolean

    Logic for updating values based on timestamps.

    Logic for updating values based on timestamps. If timestamp is same or the new value timestamp is after old value return true else false

    oldValue

    old value(from latestStore)

    newValue

    the new value to be added

  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. def writeValue(path: Path, value: Value[Any]): Future[Unit]
  63. def writeValues(values: Map[Path, Value[Any]]): Future[Unit]
  64. def [B](y: B): (SingleStores, B)
    Implicit
    This member is added by an implicit conversion from SingleStores to ArrowAssoc[SingleStores] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SingleStores to any2stringadd[SingleStores]

Inherited by implicit conversion StringFormat from SingleStores to StringFormat[SingleStores]

Inherited by implicit conversion Ensuring from SingleStores to Ensuring[SingleStores]

Inherited by implicit conversion ArrowAssoc from SingleStores to ArrowAssoc[SingleStores]

Ungrouped