public virtual int Get(FacetLabel categoryPath) { lock (this) { int?res = cache.Get(categoryPath); if (res == null) { return(-1); } return((int)res); } }