public class FileSystemCache.PageInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private java.io.FileInputStream |
fis |
private ReaderWriterLock |
lock |
| Modifier | Constructor and Description |
|---|---|
private |
PageInputStream(ReaderWriterLock lock,
java.io.FileInputStream fis) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
private ReaderWriterLock lock
private java.io.FileInputStream fis
private PageInputStream(ReaderWriterLock lock, java.io.FileInputStream fis)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionCopyright 2004-2015 Wandora Team