![JAR search and dependency download from the Maven repository](/logo.png)
com.lambdazen.bitsy.util.BufferFlusher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitsy Show documentation
Show all versions of bitsy Show documentation
Bitsy v3 is a small, fast, embeddable, durable in-memory graph database that is compatible with Tinkerpop3
package com.lambdazen.bitsy.util;
import java.util.List;
import com.lambdazen.bitsy.BitsyException;
import com.lambdazen.bitsy.util.DoubleBuffer.BufferName;
/** This interface represents a flush worker that takes can empty a buffer (A/B) */
public interface BufferFlusher {
// Any exception thrown by this method will stop further enqueues.
// InterruptedExceptions must be rethrown to kill the flush thread
public void flushBuffer(BufferName bufName, List workList) throws BitsyException, InterruptedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy