case class NessieActionBuilder(tag: String, nessieExec: Option[(NessieApiV2, Session) => Session] = None, ignoreExceptions: Boolean = false, dontLogResponse: Boolean = false, exceptionHandler: (Exception, NessieApiV2, Session) => Session = defaultExceptionHandler) extends ActionBuilder with NameGen with Product with Serializable
Builder created via NessieDsl.nessie for Nessie-Gatling-Actions.
Do not create an instance of this builder yourself.
- tag
tag as shown in Gatling for the action being built
- nessieExec
the action to be executed, takes the NessieClient and Gatling Session
- ignoreExceptions
whether exceptions are ignored
- dontLogResponse
whether responses are not logged against Gatling and don't appear in the output
- Alphabetic
- By Inheritance
- NessieActionBuilder
- Serializable
- Product
- Equals
- NameGen
- ActionBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NessieActionBuilder(tag: String, nessieExec: Option[(NessieApiV2, Session) => Session] = None, ignoreExceptions: Boolean = false, dontLogResponse: Boolean = false, exceptionHandler: (Exception, NessieApiV2, Session) => Session = defaultExceptionHandler)
- tag
tag as shown in Gatling for the action being built
- nessieExec
the action to be executed, takes the NessieClient and Gatling Session
- ignoreExceptions
whether exceptions are ignored
- dontLogResponse
whether responses are not logged against Gatling and don't appear in the output
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 build(ctx: ScenarioContext, next: Action): Action
Build the NessieAction.
Build the NessieAction.
- Definition Classes
- NessieActionBuilder → ActionBuilder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def dontLog(): NessieActionBuilder
Do not push the measurement for this action to Gatling nor to Prometheus.
- val dontLogResponse: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exceptionHandler: (Exception, NessieApiV2, Session) => Session
- def execute(nessieExec: (NessieApiV2) => Unit): NessieActionBuilder
Execute code with the current NessieApiV1, this is a convenience implementation if you do not need the Gatling session in the action code.
- def execute(nessieExec: (NessieApiV2, Session) => Session): NessieActionBuilder
Execute code with the current NessieApiV1 and Gatling Session.
- def genName(base: String): String
- Definition Classes
- NameGen
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def ignoreException(): NessieActionBuilder
Exceptions thrown from the nessieExec will not be propagated, but an exception handler should be added via onException().
- val ignoreExceptions: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nessieExec: Option[(NessieApiV2, Session) => Session]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onException(handler: (Exception, NessieApiV2, Session) => Session): NessieActionBuilder
Adds an exception handler to deal with exceptions ignored via ignoreException().
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tag: String
- 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