Ditto 4.7.5-rc.1
Loading...
Searching...
No Matches
DittoSDK.DittoGlobal Class Reference

Configuration for all network transports. More...

Inheritance diagram for DittoSDK.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.
 

Detailed Description

Configuration for all network transports.

Member Function Documentation

◆ Copy()

DittoGlobal DittoSDK.DittoGlobal.Copy ( )
inline

Creates a deep copy of the config object.

Returns
A new, equivalent DittoGlobal instance.

Property Documentation

◆ RoutingHint

uint DittoSDK.DittoGlobal.RoutingHint = NoPreferredRouteHint
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.