Class JRConcurrentSwapFile


  • public class JRConcurrentSwapFile
    extends JRSwapFile
    JRSwapFile derived class that uses a FileChannel to perform concurrent I/O on the swap file.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Field Detail

      • EXCEPTION_MESSAGE_KEY_INSUFFICIENT_DATA

        public static final String EXCEPTION_MESSAGE_KEY_INSUFFICIENT_DATA
        See Also:
        Constant Field Values
    • Constructor Detail

      • JRConcurrentSwapFile

        public JRConcurrentSwapFile​(String directory,
                                    int blockSize,
                                    int minGrowCount)
        Creates a swap file. The file name is generated automatically.
        Parameters:
        directory - the directory where the file should be created.
        blockSize - the size of the blocks allocated by the swap file
        minGrowCount - the minimum number of blocks by which the swap file grows when full