class Heartbeat {

    long timeToNextHeartbeat(long now) {
        update(now);
        return heartbeatTimer.remainingMs();
    }

    public  Heartbeat(GroupRebalanceConfig config,
                     Time time);

}