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 void
close()
SVNSpillBufferInputStream
createInputStream()
int
getBlockSize()
java.io.File
getFileName()
long
getMemorySize()
long
getSize()
java.io.RandomAccessFile
getSpill()
org.tmatesoft.svn.core.internal.util.SVNSpillBuffer.MemoryBlock
read()
void
write(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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
read
public org.tmatesoft.svn.core.internal.util.SVNSpillBuffer.MemoryBlock read() throws java.io.IOException
- Throws:
java.io.IOException
-
-