Click or drag to resize

TimeSeries Class

A class for collecting a series of time stamped events, writing them to a database, and then optionally replicating them
Inheritance Hierarchy
SystemObject
  Couchbase.Lite.UtilTimeSeries

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public class TimeSeries : IDisposable

The TimeSeries type exposes the following members.

Constructors
  NameDescription
Public methodTimeSeries
Constructor
Top
Methods
  NameDescription
Public methodAddEvent(IDictionaryString, Object)
Add an event to the series using the current UTC time
Public methodAddEvent(IDictionaryString, Object, DateTime)
Add an event to the database using the specified time
Public methodCreatePushReplication
Create a push replication to replicate the events to a remote endpoint
Public methodDispose
Releases all resources used by the TimeSeries
Public methodFlush
Flushes the events to the database synchronously
Public methodFlushAsync
Flush the events to the database asynchronously
Public methodGetEventsInRange
Returns all the events in a given time range
Top
See Also