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

com.lambdazen.bitsy.util.BufferFlusher Maven / Gradle / Ivy

Go to download

Bitsy v3 is a small, fast, embeddable, durable in-memory graph database that is compatible with Tinkerpop3

There is a newer version: 3.6.2
Show newest version
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