use of org.neo4j.procedure.builtin.routing.RoutingTableTTLProvider in project neo4j by neo4j.
the class AbstractEditionModule method serverSideRoutingTableProvider.
protected ServerSideRoutingTableProvider serverSideRoutingTableProvider(GlobalModule globalModule) {
ConnectorPortRegister portRegister = globalModule.getConnectorPortRegister();
Config config = globalModule.getGlobalConfig();
LogProvider logProvider = globalModule.getLogService().getInternalLogProvider();
RoutingTableTTLProvider ttlProvider = RoutingTableTTLProvider.ttlFromConfig(config);
return new SingleAddressRoutingTableProvider(portRegister, RoutingOption.ROUTE_WRITE_AND_READ, config, logProvider, ttlProvider);
}
Aggregations