c

pl.touk.nussknacker.ui.process.processingtype

ProcessingTypeDataReload

class ProcessingTypeDataReload extends ProcessingTypeDataProvider[ProcessingTypeData, CombinedProcessingTypeData] with LazyLogging

This implements *simplistic* reloading of ProcessingTypeData - treat it as experimental/working PoC

One of the biggest issues is that it can break current operations - when reloadAll is invoked, e.g. during process deploy via FlinkRestManager it may very well happen that http backed is closed between two Flink invocations. To handle this correctly we probably need sth like: def withProcessingTypeData(processingType: ProcessingType)(action: ProcessingTypeData=>Future[T]): Future[T] to be able to wait for all operations to complete

Another thing that needs careful consideration is handling exception during ProcessingTypeData creation/closing - probably during close we want to catch exception and try to proceed, but during creation it can be a bit tricky...

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessingTypeDataReload
  2. LazyLogging
  3. ProcessingTypeDataProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessingTypeDataReload(loadMethod: () ⇒ ProcessingTypeDataState[ProcessingTypeData, CombinedProcessingTypeData])

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 all(implicit user: LoggedUser): Map[ProcessingType, ProcessingTypeData]
    Definition Classes
    ProcessingTypeDataProvider
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def combined: CombinedProcessingTypeData
    Definition Classes
    ProcessingTypeDataProvider
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def forProcessingType(processingType: ProcessingType)(implicit user: LoggedUser): Option[ProcessingTypeData]
    Definition Classes
    ProcessingTypeDataProvider
  11. final def forProcessingTypeE(processingType: ProcessingType)(implicit user: LoggedUser): Either[UnauthorizedError, Option[ProcessingTypeData]]
    Definition Classes
    ProcessingTypeDataProvider
  12. final def forProcessingTypeEUnsafe(processingType: ProcessingType)(implicit user: LoggedUser): Either[UnauthorizedError, ProcessingTypeData]
    Definition Classes
    ProcessingTypeDataProvider
  13. final def forProcessingTypeUnsafe(processingType: ProcessingType)(implicit user: LoggedUser): ProcessingTypeData
    Definition Classes
    ProcessingTypeDataProvider
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  18. final def mapCombined[CC](fun: (CombinedProcessingTypeData) ⇒ CC): ProcessingTypeDataProvider[ProcessingTypeData, CC]
    Definition Classes
    ProcessingTypeDataProvider
  19. final def mapValues[TT](fun: (ProcessingTypeData) ⇒ TT): ProcessingTypeDataProvider[TT, CombinedProcessingTypeData]
    Definition Classes
    ProcessingTypeDataProvider
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def reloadAll(): Unit
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. 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
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped