hollow/src/main/java/com/netflix/hollow/api/metrics/HollowProducerMetrics.java
public void updateCycleMetrics(HollowProducerListener.ProducerStatus producerStatus) {
        Status.StatusType st = producerStatus.getStatus() == HollowProducerListener.Status.SUCCESS
                ? Status.StatusType.SUCCESS
                : Status.StatusType.FAIL;

        updateCycleMetrics(new Status(st, producerStatus.getCause()), producerStatus.getReadState(), producerStatus.getVersion());
    }
public void updateCycleMetrics(HollowProducerListener.ProducerStatus producerStatus) {
        Status.StatusType st = producerStatus.getStatus() == HollowProducerListener.Status.SUCCESS
                ? Status.StatusType.SUCCESS
                : Status.StatusType.FAIL;

        updateCycleMetrics(new Status(st, producerStatus.getCause()), producerStatus.getReadState(), producerStatus.getVersion());
    }
Updates the producer metrics:
cycles completed, version and type's footprint and ordinals.
@param producerStatus the producer status