Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package opendatagroup
    Definition Classes
    com
  • package fastscore

    An example interaction with FastScore

    An example interaction with FastScore

    scala> import com.opendatagroup.fastscore.fleet._
    scala> implicit val proxy = new Proxy("https://localhost:8000")
    scala> val connect = new Connect()
    scala> import com.opendatagroup.fastscore.assets._
    scala> val model = Model.fromFile("./preprocessor.R")
    scala> val modelmanage = connect.lookup("model-manage") match { case l: List[ModelManage] if l.length == 1 => l(0) }
    scala> modelmanage.models.put("preprocessor", model)
    Definition Classes
    opendatagroup
  • package fleet
    Definition Classes
    fastscore
  • Connect
  • Engine
  • Instance
  • ModelManage
  • Pneumo
  • Proxy
  • SwaggerBase1
  • SwaggerBase2

class Engine extends Instance

Engine classes

Overview

The main engine class is com.opendatagroup.fastscore.fleet.Engine It defines a reference to a running engine instance An Engine object can be created the following ways: 1. From a Connect instance

scala> implicit val proxy = new Proxy("https://localhost:8000")
scala> val connect = new Connect()
scala> val engine = connect.get("engine-1") match { case Some(engine): Option[Engine] => engine }

2. Directly

scala> implicit val proxy = new Proxy("https://localhost:8000")
scala> val engine = new Engine("engine-1")
Linear Supertypes
Instance, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Engine
  2. Instance
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Engine(name: String)(implicit proxy: Proxy)

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. def activeSensors: List[ActiveSensorInfo]

    Retrieve a list of active sensors

    Retrieve a list of active sensors

    Definition Classes
    Instance
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attachStream(slot: Int, stream: Stream): Unit

    Attach a stream

    Attach a stream

    slot

    Slot to attach to

    stream

    Stream object to attach

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def health: HealthInfo

    Retrieve the health of the instance

    Retrieve the health of the instance

    Definition Classes
    Instance
  14. def installSensor(desc: SensorDescriptor): InlineResponse200

    Install a sensor

    Install a sensor

    Definition Classes
    Instance
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def loadModel(model: Model): Unit

    Load a model

  17. def model(): Option[Model]

    Retrieve the active model

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. implicit val proxy: Proxy
  22. def reset(): Unit

    Reset the engine to INIT state

  23. def state(): String

    Retrieve the state of the engine

    Retrieve the state of the engine

    returns

    INIT, RUNNING, ERROR

  24. def swagger: Option[Any]

    Retrieve the swagger spec

    Retrieve the swagger spec

    Definition Classes
    Instance
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def tappingPoints: List[String]

    Retrieve a list of tapping points

    Retrieve a list of tapping points

    Definition Classes
    Instance
  27. def toString: String
    Definition Classes
    EngineInstance → AnyRef → Any
  28. def uninstallSensor(tapId: Integer): Any

    Uninstall a sensor

    Uninstall a sensor

    Definition Classes
    Instance
  29. def unloadModel(): Unit

    Unload active model

  30. val v1: EngineApi with SwaggerBase1
    Definition Classes
    EngineInstance
  31. val v2: EngineApi with SwaggerBase2
    Definition Classes
    EngineInstance
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Instance

Inherited from AnyRef

Inherited from Any

Ungrouped