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 TypeMethodDescriptionvoid
close()
void
force
(boolean metaData) int
long
int
read
(ByteBuffer buffer, long offset) void
truncate
(long i) int
write
(ByteBuffer buffer, long l)
-
Method Details
-
read
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getFileSize
- Throws:
IOException
-
getFileId
public int getFileId() -
truncate
- Throws:
IOException
-
write
- Throws:
IOException
-
force
- Throws:
IOException
-