You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ to a Coherence Cluster using gRPC for the network transport.
25
25
* session lifecycle events such as connected, disconnected, reconnected and closed
26
26
* Support for storing Go structs as JSON as well as the ability to serialize to Java objects on the server for access from other Coherence language API's
27
27
* Near cache support to cache frequently accessed data in the Go client to avoid sending requests across the network
28
-
* Support for Queues in Coherence Community Edition 24.03+ only
28
+
* Support for Queues in Coherence Community Edition 24.03+
29
29
* Full support for Go generics in all Coherence API's
Copy file name to clipboardExpand all lines: coherence/doc.go
+7-7
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ The Coherence Go client provides the following features:
26
26
and session lifecycle events such as connected, disconnected, reconnected and closed
27
27
- Support for storing Go structs as JSON as well as the ability to serialize to Java objects on the server for access from other Coherence language API's
28
28
- Near cache support to cache frequently accessed data in the Go client to avoid sending requests across the network
29
+
- Support for Queues in Coherence Community Edition 24.03+
29
30
- Full support for Go generics in all Coherence API's
30
31
31
32
For more information on Coherence caches, please see the [Coherence Documentation].
@@ -69,9 +70,8 @@ If you have multiple clusters on the same port, you can also append the cluster
When using the 'coherence' gRPC resolver, the Go client randomizes any addresses that are returned to help
74
+
load balance across gRPC proxies. You can turn this off by setting the environment variable COHERENCE_RESOLVER_RANDOMIZER=false.
75
75
76
76
To Configure SSL, you must first enable SSL on the gRPC Proxy, see [gRPC Proxy documentation] for details.
77
77
Refer to the section on [NewSession] for more information on setting up a SSL connection on the client.
@@ -331,7 +331,7 @@ run various scenarios to perform aggregations.
331
331
332
332
# Responding to cache events
333
333
334
-
The Coherence Go Client provides the ability to add a [MapListener] that will receive events (inserts, updates, deletes)
334
+
The Coherence Go client provides the ability to add a [MapListener] that will receive events (inserts, updates, deletes)
335
335
that occur against a [NamedMap] or [NamedCache]. You can listen for all events, events based upon a filter or
336
336
vents based upon a key.
337
337
@@ -394,7 +394,7 @@ vents based upon a key.
394
394
395
395
# Responding to cache lifecycle events
396
396
397
-
The Coherence Go Client provides the ability to add a [MapLifecycleListener] that will receive events (truncated and destroyed)
397
+
The Coherence Go client provides the ability to add a [MapLifecycleListener] that will receive events (truncated and destroyed)
398
398
that occur against a [NamedMap] or [NamedCache].
399
399
400
400
// consider the example below where we want to listen for all 'truncate' events for a NamedMap.
@@ -437,7 +437,7 @@ that occur against a [NamedMap] or [NamedCache].
437
437
438
438
# Responding to session lifecycle events
439
439
440
-
The Coherence Go Client provides the ability to add a [SessionLifecycleListener] that will receive events (connected, closed,
440
+
The Coherence Go client provides the ability to add a [SessionLifecycleListener] that will receive events (connected, closed,
441
441
disconnected or reconnected) that occur against the [Session].
442
442
Note: These events use and experimental gRPC API so may not be reliable or may change in the future. This is due to the
443
443
experimental nature of the underlying gRPC API.
@@ -571,7 +571,7 @@ See the [Queues] documentation for more information on using queues on the Coher
571
571
# Serializing to Java objects on the server
572
572
573
573
By default, the Coherence Go client serializes any keys and values to JSON and then stores them as JsonObjects in Coherence.
574
-
This is usually sufficient for most applications where you are only accessing your data via the Go Client.
574
+
This is usually sufficient for most applications where you are only accessing your data via the Go client.
575
575
576
576
If you wish to access your data via other clients such as Java, JavaScript, C++, .NET or Python, it's best to use Java classes, known to Coherence server,
577
577
representing the data model. The following describes how to achieve interoperability with Java.
0 commit comments