/// <summary> /// Get MonitorHandle monitor handle used to monitor updates on indexes. /// </summary> /// <returns>Monitor Handle - Manage the monitoring process</returns> public MonitorHandle GetMonitorHandle(MonitorSettings monitorSettings) { return new MonitorHandle(monitorSettings,_scroller,_searcher,_logger); }
/// <summary> /// Get monitor handle used to monitor updates on indexes. /// </summary> /// <param name="index">index to setup the monitor on</param> /// <param name="type">type to setup the monitor on</param> /// <param name="timestampField">timestamp field used by the monitor to check for updates</param> /// <returns>Monitor Handle - Manage the monitoring process</returns> public MonitorHandle GetMonitorHandle(string index,string type,string timestampField) { var settings = new MonitorSettings(index, type, timestampField); return GetMonitorHandle(settings); }