org.eso.ias.asce.transfer

Members list

Type members

Classlikes

class IasIO[T](val inOut: InOut[T])

The view of an InOut for the TF

The view of an InOut for the TF

IasIO exposes only the InOut's methods that can be invoked by the TF hiding the methods meant for the internals of the IAS.

The IasIo reduces the risk of errors from misuse from the TF and simplify the API

IasIo is immutable.

Value parameters

inOut

The InOut to delegate

Attributes

Supertypes
class Object
trait Matchable
class Any
class IasioInfo(val iasioId: String, val iasioType: IASTypes)

The association of ID and type to be passed to the initialize method of the transfer function

The association of ID and type to be passed to the initialize method of the transfer function

Value parameters

iasioId

the ID of the IASIO

iasioType

The type of the IASIO

Attributes

Supertypes
class Object
trait Matchable
class Any
trait JavaTransfer[T] extends ComputingElement[T]

JavaTransfer calls the java transfer function provided by the user.

JavaTransfer calls the java transfer function provided by the user.

Note that the Validity of the output is not set by the transfer function but automatically implemented by the ASCE

Attributes

Supertypes
class ComputingElement[T]
class Object
trait Matchable
class Any
trait ScalaTransfer[T] extends ComputingElement[T]

ScalaTransfer calls the scala transfer function provided by the user. user.

ScalaTransfer calls the scala transfer function provided by the user. user.

Note that the Validity of the output is not set by the transfer function but automatically implemented by the ASCE

Attributes

Supertypes
class ComputingElement[T]
class Object
trait Matchable
class Any
abstract class ScalaTransferExecutor[T](cEleId: String, cEleRunningId: String, validityTimeFrame: Long, props: Properties) extends TransferExecutor

The ScalaTransferExecutor provides the interface for scala implementations of the transfer function.

The ScalaTransferExecutor provides the interface for scala implementations of the transfer function.

Value parameters

cEleId:

The id of the ASCE

cEleRunningId:

the running ID of the ASCE

props:

The properties for the executor

validityTimeFrame:

The time frame (msec) to invalidate monitor points

Attributes

Supertypes
class TransferExecutor
class Object
trait Matchable
class Any
Known subtypes
object TransferFunctionLanguage extends Enumeration

Implemented types of transfer functions

Implemented types of transfer functions

Attributes

Supertypes
class Enumeration
trait Serializable
class Object
trait Matchable
class Any
Self type
class TransferFunctionSetting(val className: String, val language: Value, templateInstance: Option[Int], threadFactory: ThreadFactory)

The settings for the transfer function are retrieved from the configuration (DB, XML, text file) and passed to the ComputingElement.

The settings for the transfer function are retrieved from the configuration (DB, XML, text file) and passed to the ComputingElement.

Objects of this class contain all the information to run the transfer function independently from the supported programming language (@see TransferFunctionLanguage).

At the present there 3 possible implementations of the transfer function in scala, java or python.

Java implementation requires to provide a java-style interface to developers for which we need to convert scala data structure to/from java. Scala implementations of the TF are therefore more performant (in principle).

For python TFs, we use jep (https://github.com/ninia/jep) that provides interoperability between java and python. For the python TFs, a java class is always loaded, PythonExecutorTF, that delegates to the python class whose name is in the className property

Value parameters

className:

The name of the java/scala/python class to run

language:

the programming language used to implement the TF

templateInstance:

the instance of the template if defined; if empty the ASCE is not generated out of a template

threadFactory:

The thread factory to async. run init and shutdown on the user provided TF object

Attributes

See also

ComputingElement

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type