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

com.github.segmentio.safeclient.flusher.BlockingFlusher Maven / Gradle / Ivy

package com.github.segmentio.safeclient.flusher;

import java.util.List;

import com.github.segmentio.safeclient.BatchedOperation;

public class BlockingFlusher implements IFlusher {


	public boolean canFlush() {
		return true;
	}
	
	public  void flush(BatchedOperation operation, List batch) {
		operation.performFlush(batch);
	}

	public void close() {
		// do nothing
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy