Class SVNSpillBuffer
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.util.SVNSpillBuffer
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class SVNSpillBuffer extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description SVNSpillBuffer(int blockSize, long maxSize)SVNSpillBuffer(int blockSize, long maxSize, boolean deleteOnClose, boolean spillAllContents, java.io.File dirPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()SVNSpillBufferInputStreamcreateInputStream()intgetBlockSize()java.io.FilegetFileName()longgetMemorySize()longgetSize()java.io.RandomAccessFilegetSpill()org.tmatesoft.svn.core.internal.util.SVNSpillBuffer.MemoryBlockread()voidwrite(byte[] data, int offset, int length)
-
-
-
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()
-
createInputStream
public SVNSpillBufferInputStream createInputStream()
-
write
public void write(byte[] data, int offset, int length) throws SVNException- Throws:
SVNException
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
read
public org.tmatesoft.svn.core.internal.util.SVNSpillBuffer.MemoryBlock read() throws java.io.IOException- Throws:
java.io.IOException
-
-