class ScopeEventingFunctionManager 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()
- Alphabetic
- By Inheritance
- ScopeEventingFunctionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ScopeEventingFunctionManager(async: AsyncScopeEventingFunctionManager)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def deployFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- def dropFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def functionsStatus(timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- def getAllFunctions(timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def pauseFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- def resumeFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def undeployFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- def upsertFunction(function: EventingFunction, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Try[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.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)