Skip to content

Commit 61f2f24

Browse files
WAN profile comparison table
1 parent 82d4670 commit 61f2f24

2 files changed

Lines changed: 53 additions & 29 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
= Platform Introduction
2+
:description: pass:q[A simple Java orientation intro for _non-Java_ folk who are evaluating the Couchbase Scala SDK.]
3+
:page-toclevels: 2
4+
5+
// https://couchbasecloud.atlassian.net/wiki/spaces/SWD/pages/2137194599/Scala
6+
7+
8+
[abstract]
9+
{description}
10+
11+
12+
[IMPORTANT]
13+
.Is This Page for You?
14+
====
15+
This page is to help evaluate the Couchbase Java SDK, if Java is not where you spend the majority of your working day.
16+
It is aimed at Software Architects, QE folk, managers, and anyone else who needs to run through using the Java SDK without necessarily being comfortable with the Java environment.
17+
If this is not you, head back to the xref:overview.adoc[rest of the Couchbase Java SDK documentation].
18+
====
19+
20+
21+
// It may be that you are a Java developer trying out our Scala SDK, or someone else who has a JDK installed, in which case feel free to skip ahead a section, but note that we will be installing `sdkman` in the next section, and using that to manage Scala installation.
22+
23+
24+
== JVM Installation
25+
26+
Java is a JVM language - like Scala, Kotlin, and Clojure, it runs on a Java Virtual Machine.
27+
Running JVM programs necessitates a Java Runtime Environment (JRE), but to develop a Scala (say) or Java app you need a Java Development Kit (JDK).
28+
The Couchbase Java SDK can run on any LTS (long-term support) JDK --
29+
see the xref:project-docs:compatibility.adoc[compatibility page] for full information.
30+
31+
To install the JDK we are going to use a JVM-management tool called `sdkman`.
32+
33+
34+
35+
=== SDKMAN!
36+
37+
SDKMAN! -- the Software Development Kit Manager -- enables multiple Java versions and runtimes to be installed and managed, without intefering with your system's default JVM.
38+
39+
This third party tool is unnecessary in most production environments, but ideal for development machines.
40+
Installation instructions can be found on the https://sdkman.io/install[SDKMAN! website].
41+
42+
Once SDKMAN! is installed, use it to install the latest version of Scala 2.13:
43+
44+
[source,console]
45+
----
46+
$ sdk install java 23.0.2-oracle
47+
----
48+
49+
You may be prompted to set that version as a default -- say yes (by pressing *<Enter>*).
50+
More details of SDKMAN! use can be found on the https://sdkman.io/install[SDKMAN! website].
51+

modules/ref/pages/client-settings.adoc

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -826,35 +826,8 @@ The `wan-development` configuration profile can be used to modify client setting
826826
This profile changes the default timeouts.
827827

828828

829-
.Profile Settings
830-
[cols="1,1"]
831-
|===
832-
| Setting | Value
833-
834-
| `connectTimeout`
835-
| 20s
836-
837-
| `kvTimeout`
838-
| 20s
839-
840-
| `kvDurableTimeout`
841-
| 20s
842-
843-
| `viewTimeout`
844-
| 120s
845-
846-
| `queryTimeout`
847-
| 120s
848-
849-
| `analyticsTimeout`
850-
| 120s
851-
852-
| `searchTimeout`
853-
| 120s
854-
855-
| `managementTimeout`
856-
| 120s
857-
|===
829+
// table - WAN profile timeouts
830+
include::{version-common}@sdk:shared:partial$client-settings-wan-profile.adoc[tag=profile-values]
858831

859832

860833

0 commit comments

Comments
 (0)