Package org.jscsi.initiator.devices

Examples of org.jscsi.initiator.devices.Raid0Device


  public WhiskasDemo() throws Exception {

    target1 = new WhiskasDevice(new DummyDevice(BLOCK_SIZE, BLOCK_COUNT));
    target2 = new WhiskasDevice(new DummyDevice(BLOCK_SIZE, BLOCK_COUNT));
    raid0 = new WhiskasDevice(
        new Raid0Device(new Device[] { target1, target2 }));
    raid0.open();

    data = new byte[BLOCK_SIZE];
    for (int i = 0; i < data.length; i++) {
      data[i] = 0;
View Full Code Here

TOP

Related Classes of org.jscsi.initiator.devices.Raid0Device

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.