Ditto 4.8.0
|
Configuration for all network transports. More...
Inherits IEquatable< DittoGlobal >.
Public Member Functions | |
override bool | Equals (object obj) |
bool | Equals (DittoGlobal other) |
override int | GetHashCode () |
DittoGlobal | Copy () |
Creates a deep copy of the config object. | |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (DittoGlobal left, DittoGlobal right) |
static bool | operator!= (DittoGlobal left, DittoGlobal right) |
Static Public Attributes | |
const uint | NoPreferredRouteHint = 0 |
const uint | NO_PREFERRED_ROUTE_HINT = NoPreferredRouteHint |
Properties | |
uint | SyncGroup = 0 [get, set] |
uint | RoutingHint = NoPreferredRouteHint [get, set] |
The routing hint for this device. | |
Configuration for all network transports.
|
inline |
Creates a deep copy of the config object.
DittoGlobal
instance.
|
getset |
The routing hint for this device.
A routing hint is a performance tuning option which can improve the performance of applications that use large collections. Ditto will make a best effort to co-locate data for the same routing key. In most circumstances, this should substantially improve responsiveness of the Ditto Cloud.
The value of the routing hint is application specific - you are free to chose any value. Devices which you expect to operate on much the same data should be configured to use the same value.
A routing hint does not partition data. The value of the routing hint will not affect the data returned for a query. The routing hint only improves the efficiency of the Cloud's ability to satisfy the query.