class AsyncEventingFunctionManager 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
- Alphabetic
- By Inheritance
- AsyncEventingFunctionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AsyncEventingFunctionManager(env: ClusterEnvironment, couchbaseOps: CoreCouchbaseOps)(implicit ec: ExecutionContext)
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]) @native() @IntrinsicCandidate()
- def deployFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- def dropFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- 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): Future[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.
- def getAllFunctions(timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def pauseFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- def resumeFunction(name: String, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- 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): Future[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.
- def upsertFunction(function: EventingFunction, timeout: Duration = DefaultTimeout, retryStrategy: RetryStrategy = DefaultRetryStrategy, parentSpan: Option[RequestSpan] = None): Future[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.
- 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]) @native()
- 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
- Deprecated