/// <summary> /// Populates the internal collection of registered /// <see cref="Scheme">protocol schemes</see> /// with the content of the map passed as a parameter. /// </summary> /// <param name="map">protocol schemes</param> public void SetItems(IDictionary <string, Apache.Http.Conn.Scheme.Scheme> map) { if (map == null) { return; } registeredSchemes.Clear(); registeredSchemes.PutAll(map); }
public virtual void Clear() { try { GetDb().PutLocalDocument(CookieLocalDocName, null); } catch (CouchbaseLiteException e) { Log.E(Log.TagSync, "Exception saving local doc", e); throw new RuntimeException(e); } // Clear cookies from local store cookies.Clear(); }
public override void Clear() { Lock.Lock(); try { item2Index.Clear(); indexSize = 0; object[] arr = new object[DefaultInitialCapacity]; index2Item.Set(arr); } finally { Lock.Unlock(); } }
/// <summary> /// Remove all entries /// </summary> public void Clear() { map.Clear(); }
/// <summary>Clear the cache</summary> public static void Clear() { userToNetgroupsMap.Clear(); }
public virtual void ClearCache() { nmTokens.Clear(); }