hollow/src/main/java/com/netflix/hollow/api/metrics/HollowProducerMetrics.java
public void updateCycleMetrics(Status status, HollowProducer.ReadState readState, long version) {
        cyclesCompleted++;
        if(status.getType() == Status.StatusType.FAIL) {
            cycleFailed++;
            return;
        }
        cyclesSucceeded++;

        if(readState != null) {
            HollowReadStateEngine hollowReadStateEngine = readState.getStateEngine();
            super.update(hollowReadStateEngine, version);
        } else {
            super.update(version);
        }
    }
public void updateCycleMetrics(Status status, HollowProducer.ReadState readState, long version) {
        cyclesCompleted++;
        if(status.getType() == Status.StatusType.FAIL) {
            cycleFailed++;
            return;
        }
        cyclesSucceeded++;

        if(readState != null) {
            HollowReadStateEngine hollowReadStateEngine = readState.getStateEngine();
            super.update(hollowReadStateEngine, version);
        } else {
            super.update(version);
        }
    }
public void updateCycleMetrics ( Status status , HollowProducer . ReadState readState , long version ) { cyclesCompleted ++ ; if ( status . getType ( ) == Status . StatusType . FAIL ) { cycleFailed ++ ; return ; } cyclesSucceeded ++ ; if ( readState != null ) { HollowReadStateEngine hollowReadStateEngine = readState . getStateEngine ( ) ; super . update ( hollowReadStateEngine , version ) ; } else { super . update ( version ) ; } }
Updates the producer metrics:
cycles completed, version and type's footprint and ordinals.
@param status the status
@param readState the read state
@param version the version
Updates the producer metrics : cycles completed version and type s footprint and ordinals .