Package one.microstream.afs.nio.types
Interface NioFileWrapper
- All Superinterfaces:
 AFile,AFile.Wrapper,AItem,AItem.Wrapper,NioItemWrapper
- All Known Subinterfaces:
 NioReadableFile,NioWritableFile
- All Known Implementing Classes:
 NioFileWrapper.Abstract,NioReadableFile.Default,NioWritableFile.Default
public interface NioFileWrapper extends AFile.Wrapper, NioItemWrapper
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNioFileWrapper.Abstract<U>Nested classes/interfaces inherited from interface one.microstream.afs.types.AFile
AFile.Default, AFile.Observer, AFile.WrapperNested classes/interfaces inherited from interface one.microstream.afs.types.AItem
AItem.Base, AItem.Wrapper - 
Method Summary
Modifier and Type Method Description booleancheckChannelOpen()booleancloseChannel()FileChannelensureOpenChannel()FileChannelensureOpenChannel(OpenOption... options)FileChannelfileChannel()booleanisChannelOpen()booleanisRetired()booleanopenChannel()booleanopenChannel(OpenOption... options)booleanreopenChannel(OpenOption... options)booleanretire()Methods inherited from interface one.microstream.afs.types.AFile
defaultUser, ensureExists, exists, isEmpty, isUsed, iterateObservers, name, registerObserver, removeObserver, size, toPath, toPathString, tryUseReading, tryUseReading, tryUseWriting, tryUseWriting, type, useReading, useReading, useWriting, useWriting 
- 
Method Details
- 
fileChannel
FileChannel fileChannel() - 
retire
boolean retire() - 
isRetired
boolean isRetired() - 
isChannelOpen
boolean isChannelOpen() - 
checkChannelOpen
boolean checkChannelOpen() - 
ensureOpenChannel
FileChannel ensureOpenChannel() - 
ensureOpenChannel
 - 
openChannel
- Throws:
 IORuntimeException
 - 
openChannel
- Throws:
 IORuntimeException
 - 
reopenChannel
- Throws:
 IORuntimeException
 - 
closeChannel
- Throws:
 IORuntimeException
 
 -