Class DittoGlobalConfig.Builder
java.lang.Object
com.ditto.java.transports.DittoGlobalConfig.Builder
-
Method Summary
Modifier and TypeMethodDescription@NonNull DittoUIntReturns the current routing hint.@NonNull DittoGlobalConfig.BuilderroutingHint(@NonNull DittoUInt routingHint) Sets the routing hint for this device.@NonNull DittoUIntReturns the current sync group.@NonNull DittoGlobalConfig.BuilderSets the sync group for this device.
-
Method Details
-
syncGroup
Returns the current sync group.- Returns:
- the sync group identifier.
-
syncGroup
Sets the sync group for this device.- Parameters:
syncGroup- the sync group identifier (0 to 2^32-1).- Returns:
- this Builder for method chaining.
-
routingHint
Returns the current routing hint.- Returns:
- the routing hint value.
-
routingHint
Sets the routing hint for this device.- Parameters:
routingHint- the routing hint value for performance optimization.- Returns:
- this Builder for method chaining.
-