Search in sources :

Example 1 with HttpTransactionManager

use of org.neo4j.server.http.cypher.HttpTransactionManager in project neo4j by neo4j.

the class AbstractNeoWebServer method createHttpTransactionManager.

private HttpTransactionManager createHttpTransactionManager() {
    JobScheduler jobScheduler = globalDependencies.resolveDependency(JobScheduler.class);
    Clock clock = Clocks.systemClock();
    Duration transactionTimeout = getTransactionTimeout();
    return new HttpTransactionManager(databaseManagementService, transactionMemoryPool, jobScheduler, clock, transactionTimeout, userLogProvider);
}
Also used : JobScheduler(org.neo4j.scheduler.JobScheduler) HttpTransactionManager(org.neo4j.server.http.cypher.HttpTransactionManager) Duration(java.time.Duration) Clock(java.time.Clock)

Aggregations

Clock (java.time.Clock)1 Duration (java.time.Duration)1 JobScheduler (org.neo4j.scheduler.JobScheduler)1 HttpTransactionManager (org.neo4j.server.http.cypher.HttpTransactionManager)1