public void AddToPersistedEvent(Event evt) { if (evt != null) { _index.AddToIndex(evt); } }
public bool PersistEvent(EventId evtId) { if (evtId != null) { return(_index.AddToIndex(evtId)); } return(true); }
public bool LogEntry(Alachisoft.NCache.Common.Monitoring.APILogging.APIRuntimeLogItem entry) { try { lock (_lock) _index.AddToIndex(entry); return(true); } catch { return(false); } return(false); }