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
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidforce(boolean metaData) intlongintread(ByteBuffer buffer, long offset) voidtruncate(long i) intwrite(ByteBuffer buffer, long l)
-
Method Details
-
read
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getFileSize
- Throws:
IOException
-
getFileId
public int getFileId() -
truncate
- Throws:
IOException
-
write
- Throws:
IOException
-
force
- Throws:
IOException
-