#175 - Polishing.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
= Spring Data R2DBC - Reference Documentation
|
||||
Mark Paluch
|
||||
Mark Paluch, Jay Bryant
|
||||
:revnumber: {version}
|
||||
:revdate: {localdate}
|
||||
ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1600]]
|
||||
|
||||
@@ -48,7 +48,7 @@ While the open source ecosystem hosts various non-blocking relational database d
|
||||
[[get-started:first-steps:reactive]]
|
||||
== What is Reactive?
|
||||
|
||||
The term, "`b`", refers to programming models that are built around reacting to change, availability, and processability -— network components reacting to I/O events, UI controllers reacting to mouse events, resources being made available, and others.
|
||||
The term, "`reactive`", refers to programming models that are built around reacting to change, availability, and processability -— network components reacting to I/O events, UI controllers reacting to mouse events, resources being made available, and others.
|
||||
In that sense, non-blocking is reactive, because, instead of being blocked, we are now in the mode of reacting to notifications as operations complete or data becomes available.
|
||||
|
||||
There is also another important mechanism that we on the Spring team associate with reactive, and that is non-blocking back pressure.
|
||||
|
||||
@@ -188,7 +188,7 @@ public class PersonWriteConverter implements Converter<Person, OutboundRow> {
|
||||
|
||||
public OutboundRow convert(Person source) {
|
||||
OutboundRow row = new OutboundRow();
|
||||
row.put("_d", SettableValue.from(source.getId()));
|
||||
row.put("id", SettableValue.from(source.getId()));
|
||||
row.put("name", SettableValue.from(source.getFirstName()));
|
||||
row.put("age", SettableValue.from(source.getAge()));
|
||||
return row;
|
||||
|
||||
Reference in New Issue
Block a user