c

com.couchbase.client.scala.manager.eventing

AsyncScopeEventingFunctionManager

class AsyncScopeEventingFunctionManager extends AnyRef

This interface allows managing eventing functions that exist on a particular scope.

For working with eventing functions in the admin ("*.*") scope see EventingFunctionManager, accessed from com.couchbase.client.scala.Cluster.eventingFunctions

Annotations
@Uncommitted() @SinceCouchbase()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncScopeEventingFunctionManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AsyncScopeEventingFunctionManager(env: ClusterEnvironment, couchbaseOps: CoreCouchbaseOps, scope: CoreBucketAndScope)(implicit ec: ExecutionContext)

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]) @native() @IntrinsicCandidate()
  6. def deployFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[Unit]

    Deploy an eventing function in this scope.

    Deploy an eventing function in this 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): Future[Unit]

    Drop an eventing function from this scope.

    Drop an eventing function from this 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): Future[EventingStatus]

    Get the status of an eventing function in this scope.

    Get the status of an eventing function in this 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): Future[Seq[EventingFunction]]

    Get all eventing functions from this scope.

    Get all eventing functions from this 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
    @native() @IntrinsicCandidate()
  13. def getFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[EventingFunction]

    Fetch an eventing function from this scope.

    Fetch an eventing function from this 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
    @native() @IntrinsicCandidate()
  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
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def pauseFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[Unit]

    Pause an eventing function in this scope.

    Pause an eventing function in this 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): Future[Unit]

    Resume a paused eventing function in this scope.

    Resume a paused eventing function in this 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): Future[Unit]

    Undeploy an eventing function in this scope.

    Undeploy an eventing function in this 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): Future[Unit]

    Upsert an eventing function into this scope.

    Upsert an eventing function into this 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]) @native()
  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
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped