Packages

t

org.mulesoft.als.server.workspace

UnitTaskManager

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

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
SyncFunction, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnitTaskManager
  2. SyncFunction
  3. AnyRef
  4. 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, isError: Boolean = false): 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() @IntrinsicCandidate()
  7. val current: Future[Unit]
    Attributes
    protected
  8. def disable(): Future[Unit]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def fail(uri: String): Nothing
    Attributes
    protected
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  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() @IntrinsicCandidate()
  16. def init(): Future[Unit]
  17. def initialized: Future[Unit]
  18. val isInitialized: Promise[Unit]
    Attributes
    protected
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. def shutdown(): Future[Unit]
  24. def stage(uri: String, parameter: StagingAreaNotifications): Future[Unit]
  25. val state: TaskManagerState
    Attributes
    protected
  26. def sync[T](fn: () ⇒ T): T
    Definition Classes
    SyncFunction
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from SyncFunction

Inherited from AnyRef

Inherited from Any

Ungrouped