Packages

t

org.mulesoft.als.server.workspace

UnitTaskManager

trait UnitTaskManager[UnitType, ResultUnit <: UnitWithNextReference, StagingAreaNotifications] extends AnyRef

UnitTaskManager is a template designed to keep track of a kind of unit. Given a request (stored in StagingArea), there is a synchronized process which resolves the Unit and stores it into a caché. It provides the possibility to retrieve the current known unit from caché

This will process just one unit at a time

UnitType

Type of unit that is being processed and stored

ResultUnit

usually a wrap of UnitType with the reference for the next process [UnitWithNextReference]

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

Abstract Value Members

  1. abstract def disableTasks(): Future[Unit]
    Attributes
    protected
  2. abstract def log(msg: String): Unit
    Attributes
    protected
  3. abstract def processTask(): Future[Unit]
    Attributes
    protected
  4. abstract val repository: Repository[UnitType]
    Attributes
    protected
  5. abstract val stagingArea: StagingArea[StagingAreaNotifications]
    Attributes
    protected
  6. abstract def toResult(uri: String, unit: UnitType): ResultUnit
    Attributes
    protected

Concrete 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 changeState(newState: TaskManagerState): Unit
    Attributes
    protected
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def disable(): Future[Unit]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def fail(uri: String): Nothing
    Attributes
    protected
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getNext(uri: String): Option[Future[ResultUnit]]
    Attributes
    protected
  14. def getUnit(uri: String): Future[ResultUnit]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def init(): Unit
  17. val isInitialized: Promise[Unit]
    Attributes
    protected
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def shutdown(): Future[Unit]
  23. def stage(uri: String, parameter: StagingAreaNotifications): Unit
  24. val state: TaskManagerState
    Attributes
    protected
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped