c

com.couchbase.client.scala.manager.eventing

EventingFunctionManager

class EventingFunctionManager extends AnyRef

This interface allows managing eventing functions.

Note that an eventing function exists in a particular scope. This interface is for working with eventing functions in the admin ("*.*") scope. For working with eventing functions in different scopes, see ScopedEventingFunctionManager, accessed from com.couchbase.client.scala.Scope.eventingFunctions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventingFunctionManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EventingFunctionManager(async: AsyncEventingFunctionManager)

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def deployFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Unit]

    Deploy an eventing function in the admin scope ('*.*').

    Deploy an eventing function in the admin scope ('*.*').

    name

    the name of the eventing function to fetch.

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  7. def dropFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Unit]

    Drop an eventing function from the admin scope ('*.*').

    Drop an eventing function from the admin scope ('*.*').

    name

    the name of the eventing function to fetch.

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def functionsStatus(timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[EventingStatus]

    Get the status of an eventing function in the admin scope ('*.*').

    Get the status of an eventing function in the admin scope ('*.*').

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

    returns

    an EventingStatus containing the status of the eventing function.

  11. def getAllFunctions(timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Seq[EventingFunction]]

    Get all eventing functions from the admin scope ('*.*').

    Get all eventing functions from the admin scope ('*.*').

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. def getFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[EventingFunction]

    Fetch an eventing function from the admin scope ('*.*').

    Fetch an eventing function from the admin scope ('*.*').

    name

    the name of the eventing function to fetch.

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def pauseFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Unit]

    Pause an eventing function in the admin scope ('*.*').

    Pause an eventing function in the admin scope ('*.*').

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  20. def resumeFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Unit]

    Resume a paused eventing function in the admin scope ('*.*').

    Resume a paused eventing function in the admin scope ('*.*').

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def undeployFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Unit]

    Undeploy an eventing function in the admin scope ('*.*').

    Undeploy an eventing function in the admin scope ('*.*').

    name

    the name of the eventing function to fetch.

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  24. def upsertFunction(function: EventingFunction, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[Unit]

    Upsert an eventing function into the admin scope ('*.*').

    Upsert an eventing function into the admin scope ('*.*').

    function

    the eventing function to upsert.

    timeout

    timeout to apply to the operation.

    retryStrategy

    controls how the operation is retried, if it needs to be.

    parentSpan

    controls the parent tracing span to use for the operation.

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped