//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void force(org.neo4j.io.pagecache.IOLimiter ioLimiter) throws java.io.IOException
        public override void Force(IOLimiter ioLimiter)
        {
            OpenCall("force");
            try
            {
                base.Force(ioLimiter);
            }
            finally
            {
                CloseCall();
            }
        }
Exemple #2
0
 public DefaultEditionModuleDatabaseContext(DefaultEditionModule editionModule, string databaseName)
 {
     this._databaseName             = databaseName;
     this._transactionStartTimeout  = editionModule.TransactionStartTimeout;
     this._schemaWriteGuard         = editionModule.SchemaWriteGuard;
     this._headerInformationFactory = editionModule.HeaderInformationFactory;
     this._commitProcessFactory     = editionModule.CommitProcessFactory;
     this._constraintSemantics      = editionModule.ConstraintSemantics;
     this._ioLimiter             = editionModule.IoLimiter;
     this._accessCapability      = editionModule.AccessCapability;
     this._watcherServiceFactory = editionModule.WatcherServiceFactory;
     this._idContext             = editionModule.IdContextFactory.createIdContext(databaseName);
     this._tokenHolders          = editionModule.TokenHoldersProvider.apply(databaseName);
     this._locks = editionModule.LocksSupplier.get();
     this._statementLocksFactory = editionModule.StatementLocksFactoryProvider.apply(_locks);
     this._transactionMonitor    = editionModule.CreateTransactionMonitor();
     this._editionModule         = editionModule;
 }
Exemple #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void flushAndForce(org.neo4j.io.pagecache.IOLimiter limiter) throws java.io.IOException
        public override void FlushAndForce(IOLimiter limiter)
        {
            _adversary.injectFailure(typeof(FileNotFoundException), typeof(IOException), typeof(SecurityException));
            @delegate.FlushAndForce(limiter);
        }
 public override void Force(IOLimiter ioLimiter)
 {
     _accessor.force(ioLimiter);
 }