Default
consul4s.ConsistencyMode.Default
case object Default extends ConsistencyMode
If not specified, the default is strongly consistent in almost all cases. However, there is a small window in which a new leader may be elected during which the old leader may service stale values. The trade-off is fast reads but potentially stale values. The condition resulting in stale reads is hard to trigger, and most clients should not need to worry about this case. Also, note that this race condition only applies to reads, not writes.
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ConsistencyModeclass Objecttrait Matchableclass Any
- Self type
-
Default.type
Members list
In this article