Beispiel #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public long forceCheckPoint(TriggerInfo info) throws java.io.IOException
        public override long ForceCheckPoint(TriggerInfo info)
        {
            _ioLimiter.disableLimit();
            try
            {
                using (Resource @lock = _mutex.checkPoint())
                {
                    return(DoCheckPoint(info));
                }
            }
            finally
            {
                _ioLimiter.enableLimit();
            }
        }
 public override void Apply()
 {
     assertNull(Lock);
     Lock = Mutex.checkPoint();
 }