public LocalService(Meta meta, MetricsSystem metrics) { this.meta = meta; this.metrics = Objects.requireNonNull(metrics); this.executeTimer = this.metrics.getTimer(name("Execute")); this.commitTimer = this.metrics.getTimer(name("Commit")); this.prepareTimer = this.metrics.getTimer(name("Prepare")); this.prepareAndExecuteTimer = this.metrics.getTimer(name("PrepareAndExecute")); this.connectionSyncTimer = this.metrics.getTimer(name("ConnectionSync")); }
public LocalService(Meta meta, MetricsSystem metrics) { this.meta = meta; this.metrics = Objects.requireNonNull(metrics); this.executeTimer = this.metrics.getTimer(name("Execute")); this.commitTimer = this.metrics.getTimer(name("Commit")); this.prepareTimer = this.metrics.getTimer(name("Prepare")); this.prepareAndExecuteTimer = this.metrics.getTimer(name("PrepareAndExecute")); this.connectionSyncTimer = this.metrics.getTimer(name("ConnectionSync")); }