Coverage Report - org.jscsi.target.storage.SynchronizedRandomAccessStorageModule
 
Classes in this File Line Coverage Branch Coverage Complexity
SynchronizedRandomAccessStorageModule
0%
0/6
N/A
1
 
 1  
 package org.jscsi.target.storage;
 2  
 
 3  
 
 4  
 import java.io.File;
 5  
 import java.io.FileNotFoundException;
 6  
 import java.io.IOException;
 7  
 
 8  
 
 9  
 public class SynchronizedRandomAccessStorageModule extends RandomAccessStorageModule implements IStorageModule {
 10  
 
 11  
     public SynchronizedRandomAccessStorageModule (long sizeInBlocks, File file) throws FileNotFoundException {
 12  0
         super(sizeInBlocks, file);
 13  0
     }
 14  
 
 15  
     @Override
 16  
     public synchronized void read (byte[] bytes, long storageIndex) throws IOException {
 17  0
         super.read(bytes, storageIndex);
 18  0
     }
 19  
 
 20  
     @Override
 21  
     public synchronized void write (byte[] bytes, long storageIndex) throws IOException {
 22  0
         super.write(bytes, storageIndex);
 23  0
     }
 24  
 
 25  
 }