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