APISonar


io.advantageous.qbit.util.Timer.time

> io > advantageous > qbit > util > Timer > time
io APIs advantageous APIs qbit APIs util APIs Timer APIs time APIs

Example 1
protected final Timer timer;

    protected void doProcess() {
        time = timer.time();
        reactor.process();
        process();
    }
Example 2
private final Timer timer;

    public void process() {
        time = timer.time();
        reactor.process();
        processHandler.ifPresent(Runnable::run);
        stats.clientProxyFlush();
        healthServiceClient.ifPresent(ClientProxy::clientProxyFlush);

        servicesToFlush.forEach((service) -> {
            try {
                ServiceProxyUtils.flushServiceProxy(service);
            } catch (Exception ex) {
                logger.error("Unable to flush service on behalf of service " + serviceName, ex);
            }
        });
    }