Package org.jscsi.scsi.tasks.buffered

Examples of org.jscsi.scsi.tasks.buffered.BufferedTaskFactory


      taskManager = new DefaultTaskManager(TASK_MGR_NUM_THREADS, taskSet);
      modeRegistry = new StaticModePageRegistry();
      inquiryRegistry = new StaticInquiryDataRegistry();

      store = ByteBuffer.allocate(STORE_BLOCK_SIZE * STORE_CAPACITY);
      taskFactory = new BufferedTaskFactory(store, STORE_BLOCK_SIZE, modeRegistry, inquiryRegistry);

      lu = new DefaultLogicalUnitTest(taskSet, taskManager, taskFactory);
      _logger.debug("created logical unit: " + lu);

      lu.start();
View Full Code Here


      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()));
   }
View Full Code Here

TOP

Related Classes of org.jscsi.scsi.tasks.buffered.BufferedTaskFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.