public InMemoryHostConfiguration(IInMemoryBusConfiguration busConfiguration, Uri baseAddress, IInMemoryTopologyConfiguration topologyConfiguration) { _busConfiguration = busConfiguration; _topologyConfiguration = topologyConfiguration; _hostAddress = baseAddress ?? new Uri("loopback://localhost/"); TransportConcurrencyLimit = Environment.ProcessorCount; _sendTransportCacheConfigurator = new CacheConfigurator(); _proxy = new InMemoryHostProxy(); }
public static void ApplySendEndpointCacheDefaults(this ICacheConfigurator configurator) { configurator.Capacity = Capacity; configurator.MinAge = MinAge; configurator.MaxAge = MaxAge; }