public class BufferedLogicalUnit extends AbstractLogicalUnit
{
public BufferedLogicalUnit(ByteBuffer store, int blockSize, int taskThreads, int queueDepth)
{
super();
TaskSet taskSet = new DefaultTaskSet(queueDepth);
this.setTaskSet(taskSet);
this.setTaskManager(new DefaultTaskManager(taskThreads, taskSet));
this.setTaskFactory(new BufferedTaskFactory(store, blockSize, new StaticModePageRegistry(),
new StaticInquiryDataRegistry()));