Class ResettableTempFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.jackrabbit.core.data.db.TempFileInputStream
-
- org.apache.jackrabbit.core.data.db.ResettableTempFileInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class ResettableTempFileInputStream extends TempFileInputStream
TempFileInputStream that can be reset in order to allow the ConnectionHelper to retry SQL execution in case of failure.
-
-
Constructor Summary
Constructors Constructor Description ResettableTempFileInputStream(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mark(int readlimit)
boolean
markSupported()
void
reset()
-
Methods inherited from class org.apache.jackrabbit.core.data.db.TempFileInputStream
close
-
-
-
-
Method Detail
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classjava.io.FilterInputStream
-
mark
public void mark(int readlimit)
- Overrides:
mark
in classjava.io.FilterInputStream
-
reset
public void reset() throws java.io.IOException
- Overrides:
reset
in classjava.io.FilterInputStream
- Throws:
java.io.IOException
-
-