//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected: //ORIGINAL LINE: public static Condition numberOfEvictions(final org.neo4j.io.pagecache.monitoring.PageCacheCounters monitor, final long desiredNumberOfEvictions) public static Condition NumberOfEvictions(PageCacheCounters monitor, long desiredNumberOfEvictions) { return(() => monitor.Evictions() > desiredNumberOfEvictions); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: PageCacheImpl(org.neo4j.jmx.impl.ManagementData management) throws javax.management.NotCompliantMBeanException internal PageCacheImpl(ManagementData management) : base(management) { this.PageCacheCounters = management.ResolveDependency(typeof(PageCacheCounters)); }
public PageCacheMetrics(MetricRegistry registry, PageCacheCounters pageCacheCounters) { this._registry = registry; this._pageCacheCounters = pageCacheCounters; }