public ConcurrentCustomPersister(IDbConnectionFactory connectionFactory, InsertionMethod customInsertionMethod, int poolSize = PluginLibConstants.DEFAULT_PERSISTER_POOL_SIZE, IDictionary <Type, long> recordsPersisted = null) : base(recordsPersisted) { while (insertionThreadPool.Count < poolSize) { insertionThreadPool.Add(new CustomInsertionThread <T>(connectionFactory.OpenDbConnection(), customInsertionMethod)); } }
public BVHInsertion(ImplicitBoundingBoxNode location, InsertionMethod method) { Location = location; Method = method; }
public ConcurrentCustomDbPersister(IDbConnectionFactory connectionFactory, IPluginRequest pluginRequest, InsertionMethod customInsertionMethod, int persisterPoolSize = PluginLibConstants.DEFAULT_PERSISTER_POOL_SIZE) : base(persisterPoolSize) { while (insertionThreadPool.Count < persisterPoolSize) { insertionThreadPool.Add(new CustomDbInsertionThread <T>(pluginRequest, connectionFactory.OpenDbConnection(), customInsertionMethod)); } }
public ConcurrentCustomPersister(IPluginRequest pluginRequest, IDbConnectionFactory connectionFactory, InsertionMethod customInsertionMethod, IDictionary <Type, long> recordsPersisted = null) : base(recordsPersisted) { int poolSize = GlobalPluginArgumentHelper.GetPersisterPoolSize(pluginRequest); while (insertionThreadPool.Count < poolSize) { insertionThreadPool.Add(new CustomInsertionThread <T>(pluginRequest, connectionFactory.OpenDbConnection(), customInsertionMethod)); } }
public BVHInsertion(ImplicitBoundingBoxNode location, InsertionMethod method) { Location = location; Method = method; }