Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }