Packages

c

pl.touk.nussknacker.ui.process.processingtype.provider

ReloadableProcessingTypeDataProvider

class ReloadableProcessingTypeDataProvider 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. ReloadableProcessingTypeDataProvider
  2. LazyLogging
  3. ProcessingTypeDataProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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