DittoSmallPeerInfo

Entrypoint for small peer info collection. Small peer info consists of information gathered into a system collection on a regular interval and optionally synced to the Big Peer for device dashboard and debugging purposes.

This class isn't created directly. It can be accessed via the smallPeerInfo property on a Ditto instance.

Constructors

Link copied to clipboard
constructor(ditto: WeakReference<DittoBase>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Indicates whether the small peer info collector is currently enabled.

Link copied to clipboard

The metadata is free-form, user-provided Map which is serialized into JSON and is inserted into the small peer info system doc at each collection interval. The Map has no schema except for the following constraints:

Link copied to clipboard

The metadata is free-form, user-provided Map which is serialized into JSON and is inserted into the small peer info system doc at each collection interval. The Map has no schema except for the following constraints:

Link copied to clipboard

Controls which "kind" of peers the small peer info will be replicated to. Defaults to BigPeerOnly.