Class SVNSpillBuffer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class SVNSpillBuffer
    extends java.lang.Object
    implements java.io.Closeable
    • Field Detail

      • blockSize

        private final int blockSize
      • maxSize

        private final long maxSize
      • deleteOnClose

        private final boolean deleteOnClose
      • spillAllContents

        private final boolean spillAllContents
      • dirPath

        private final java.io.File dirPath
      • memorySize

        private long memorySize
      • spillSize

        private long spillSize
      • fileName

        private java.io.File fileName
      • spill

        private java.io.RandomAccessFile spill
      • spillStart

        private long spillStart
    • Constructor Detail

      • SVNSpillBuffer

        public SVNSpillBuffer​(int blockSize,
                              long maxSize)
      • SVNSpillBuffer

        public SVNSpillBuffer​(int blockSize,
                              long maxSize,
                              boolean deleteOnClose,
                              boolean spillAllContents,
                              java.io.File dirPath)
    • Method Detail

      • getSize

        public long getSize()
      • getMemorySize

        public long getMemorySize()
      • getFileName

        public java.io.File getFileName()
      • getSpill

        public java.io.RandomAccessFile getSpill()
      • getBlockSize

        public int getBlockSize()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • maybeSeek

        private boolean maybeSeek()
                           throws java.io.IOException
        Throws:
        java.io.IOException