Package org.infinispan.persistence.sifs
Class FileProvider.Handle
- java.lang.Object
-
- org.infinispan.persistence.sifs.FileProvider.Handle
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- FileProvider
public static final class FileProvider.Handle extends Object implements Closeable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getFileId()
long
getFileSize()
int
read(ByteBuffer buffer, long offset)
-
-
-
Method Detail
-
read
public int read(ByteBuffer buffer, long offset) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Throws:
IOException
-
getFileSize
public long getFileSize() throws IOException
- Throws:
IOException
-
getFileId
public int getFileId()
-
-