Java implementation of the Fieldtrip realtime buffer.