case class SetKeyValue(key: String, value: Option[String] = None, compareAndSet: Option[Int] = None, acquire: Option[SessionID] = None, release: Option[SessionID] = None) extends Product with Serializable
Data for setting a key/value
- key
The name/path of the key (e.g. foo/bar/my-data)
- value
Optional value of the key/data
- compareAndSet
Will only write the key/value of this value matches the ModifyIndex of the key stored in Consul
- acquire
Attempts to take a lock on the key using the provided session ID
- release
Attempts to release a lock on the key using the provided session ID
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SetKeyValue
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SetKeyValue(key: String, value: Option[String] = None, compareAndSet: Option[Int] = None, acquire: Option[SessionID] = None, release: Option[SessionID] = None)
- key
The name/path of the key (e.g. foo/bar/my-data)
- value
Optional value of the key/data
- compareAndSet
Will only write the key/value of this value matches the ModifyIndex of the key stored in Consul
- acquire
Attempts to take a lock on the key using the provided session ID
- release
Attempts to release a lock on the key using the provided session ID
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
- val acquire: Option[SessionID]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val compareAndSet: Option[Int]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val release: Option[SessionID]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val value: Option[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])
- def withAcquire(sessionID: SessionID): SetKeyValue
- def withCompareAndSet(cas: Int): SetKeyValue
- def withRelease(sessionID: SessionID): SetKeyValue
- def withValue(value: String): SetKeyValue
- def withValue(value: JsValue): SetKeyValue
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated