public AbstractorFactoryTimingDecorator( ILogFormatAbstractorFactory <TStreamId> wrapped, int streamExistenceFilterCheckpointIntervalMs, int streamExistenceFilterCheckpointDelayMs) { _wrapped = wrapped; _streamExistenceFilterCheckpointIntervalMs = streamExistenceFilterCheckpointIntervalMs; _streamExistenceFilterCheckpointDelayMs = streamExistenceFilterCheckpointDelayMs; }
public virtual void TestFixtureSetUp() { _logFormatFactory = LogFormatHelper <TLogFormat, TStreamId> .LogFormatFactory; _options = WithOptions( new ClusterVNodeOptions() .RunInMemory() .Secure(new X509Certificate2Collection(ssl_connections.GetRootCertificate()), ssl_connections.GetServerCertificate())); _node = new ClusterVNode <TStreamId>(_options, _logFormatFactory, new AuthenticationProviderFactory(c => new InternalAuthenticationProviderFactory(c)), new AuthorizationProviderFactory(c => new LegacyAuthorizationProviderFactory(c.MainQueue))); _node.Start(); }