// waking up and terminate all waiters that were waiting for any lock for current client private void TerminateAllWaiters() { _manager.accept(@lock => { @lock.terminateLockRequestsForLockTransaction(_lockTransaction); return(false); }); }
//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 void accept(final org.neo4j.kernel.impl.locking.Locks_Visitor visitor) public override void Accept(Org.Neo4j.Kernel.impl.locking.Locks_Visitor visitor) { _manager.accept(element => { object resource = element.resource(); if (resource is LockResource) { LockResource lockResource = ( LockResource )resource; visitor.Visit(lockResource.Type(), lockResource.ResourceId(), element.describe(), element.maxWaitTime(), System.identityHashCode(lockResource)); } return(false); }); }