c

cloudflow.akkastream

AkkaServerStreamlet

abstract class AkkaServerStreamlet extends AkkaStreamlet with Server

An AkkaStreamlet that can listen on a port. Using this trait instead of the AkkaStreamlet ensures that the streamlet will get an endpoint in Kubernetes. This trait mixes on the Server trait which is required for using a ServerStreamletLogic. The ServerStreamletLogic provides a containerPort and a getContainerPort() method. It returns the TCP port that is opened on the container. Listen on all interfaces ("0.0.0.0") and use the port returned by containerPort to start a TCP server that will be exposed by an endpoint in Kubernetes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaServerStreamlet
  2. Server
  3. AkkaStreamlet
  4. Streamlet
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AkkaServerStreamlet()

Abstract Value Members

  1. abstract def createLogic(): AkkaStreamletLogic

    Implement this method to define the logic that this streamlet should execute once it is run.

    Implement this method to define the logic that this streamlet should execute once it is run.

    Attributes
    protected
    Definition Classes
    AkkaStreamlet
  2. abstract def shape(): StreamletShape
    Definition Classes
    Streamlet

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 attributes: Set[StreamletAttribute]
    Attributes
    protected[cloudflow]
    Definition Classes
    Server
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def configParameters: IndexedSeq[ConfigParameter]

    Defines a set of configuration parameters that will be used in this streamlet to lookup environment-specific configuration to be provided at deployment time.

    Defines a set of configuration parameters that will be used in this streamlet to lookup environment-specific configuration to be provided at deployment time.

    Definition Classes
    Streamlet
  8. final def containerPort: Int

    Returns a TCP port on the container that a streamlet can listen on.

    Returns a TCP port on the container that a streamlet can listen on.

    Definition Classes
    Server
  9. implicit final def context: AkkaStreamletContext

    Returns the StreamletContext in which this streamlet is run.

    Returns the StreamletContext in which this streamlet is run. It can only be accessed when the streamlet is run.

    Attributes
    protected
    Definition Classes
    Streamlet
  10. final def createContext(config: Config): AkkaStreamletContext

    Initialize the streamlet from the config.

    Initialize the streamlet from the config. In some cases (e.g. the tests) we may pass a context directly to be used instead of building it from the config.

    Attributes
    protected
    Definition Classes
    AkkaStreamletStreamlet
  11. def customAttributes: Set[StreamletAttribute]

    A set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.

    A set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.

    Definition Classes
    Streamlet
  12. def defineConfigParameters(): Array[ConfigParameter]

    Java API

    Java API

    Defines configuration parameters that will be used in this streamlet to lookup environment-specific configuration to be provided at deployment time.

    Definition Classes
    Streamlet
  13. def defineCustomAttributes(): Array[StreamletAttribute]

    Java API

    Java API

    Defines a set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.

    Definition Classes
    Streamlet
  14. def defineVolumeMounts(): Array[VolumeMount]

    Java API Defines volume mounts that can be used by the streamlet to mount a volume in a local path.

    Java API Defines volume mounts that can be used by the streamlet to mount a volume in a local path.

    Definition Classes
    Streamlet
  15. def description: String
    Definition Classes
    Streamlet
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getContainerPort(): Int

    Java API Returns a TCP port on the container that a streamlet can listen on.

    Java API Returns a TCP port on the container that a streamlet can listen on.

    Definition Classes
    Server
  21. final def getContext(): AkkaStreamletContext

    Java API

    Java API

    Returns the StreamletContext in which this streamlet is run. It can only be accessed when the streamlet is run.

    Attributes
    protected
    Definition Classes
    Streamlet
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def inlets: IndexedSeq[Inlet]
    Definition Classes
    Streamlet
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def jsonDescriptor: String

    JSON-Encoded String representing the descriptor of this streamlet.

    JSON-Encoded String representing the descriptor of this streamlet.

    Definition Classes
    Streamlet
  26. def labels: IndexedSeq[String]
    Definition Classes
    Streamlet
  27. lazy val log: Logger
    Attributes
    protected
    Definition Classes
    Streamlet
    Annotations
    @transient()
  28. def logStartRunnerMessage(buildInfo: String): Unit
    Definition Classes
    AkkaStreamletStreamlet
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def outlets: IndexedSeq[Outlet]
    Definition Classes
    Streamlet
  33. final def run(context: AkkaStreamletContext): StreamletExecution

    Runs the streamlet.

    Runs the streamlet.

    Definition Classes
    AkkaStreamletStreamlet
  34. final val runtime: AkkaStreamletRuntime.type
    Definition Classes
    AkkaStreamletStreamlet
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def volumeMounts: IndexedSeq[VolumeMount]

    Defines volume mounts that can be used by the streamlet to mount a volume in a local path.

    Defines volume mounts that can be used by the streamlet to mount a volume in a local path.

    Definition Classes
    Streamlet
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Server

Inherited from AkkaStreamlet

Inherited from AnyRef

Inherited from Any

Ungrouped