hollow/src/main/java/com/netflix/hollow/api/producer/AbstractHollowProducer.java
public boolean enablePrimaryProducer(boolean doEnable) {
        if (doEnable) {
            singleProducerEnforcer.enable();
        } else {
            singleProducerEnforcer.disable();
        }
        return (singleProducerEnforcer.isPrimary() == doEnable);
    }
public boolean enablePrimaryProducer(boolean doEnable) {
        if (doEnable) {
            singleProducerEnforcer.enable();
        } else {
            singleProducerEnforcer.disable();
        }
        return (singleProducerEnforcer.isPrimary() == doEnable);
    }
Invoke this method to alter runCycle behavior. If this Producer is not primary, runCycle is a no-op. Note that by default,
SingleProducerEnforcer is instantiated as BasicSingleProducerEnforcer, which is initialized to return true for isPrimary()

@param doEnable true if enable primary producer, if false
@return true if the intended action was successful