All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.engine.common.ConsumerSyncManager Maven / Gradle / Ivy

The newest version!
package io.split.engine.common;

import java.io.IOException;

public class ConsumerSyncManager implements SyncManager {
    private final Synchronizer _redisSynchronizer;

    public ConsumerSyncManager(Synchronizer redisSynchronizer){
        _redisSynchronizer = redisSynchronizer;
    }

    @Override
    public void start() {
        _redisSynchronizer.startPeriodicDataRecording();
    }

    @Override
    public void shutdown() throws IOException {
        _redisSynchronizer.stopPeriodicDataRecording();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy