Package one.microstream.storage.types
Interface StorageLiveFile<S extends StorageLiveFile<S>>
- All Superinterfaces:
StorageBackupableFile
,StorageClosableFile
,StorageFile
- All Known Subinterfaces:
StorageLiveChannelFile<F>
,StorageLiveDataFile
,StorageLiveTransactionsFile
- All Known Implementing Classes:
StorageLiveDataFile.Default
,StorageLiveFile.Abstract
,StorageLiveTransactionsFile.Default
public interface StorageLiveFile<S extends StorageLiveFile<S>> extends StorageClosableFile, StorageBackupableFile
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageLiveFile.Abstract<S extends StorageLiveFile<S>>
-
Method Summary
Modifier and Type Method Description boolean
clearUsages(StorageFileUser fileUser)
boolean
executeIfUnsued(Consumer<? super S> action)
boolean
hasUsers()
boolean
registerUsage(StorageFileUser fileUser)
boolean
unregisterUsage(StorageFileUser fileUser)
boolean
unregisterUsageClosing(StorageFileUser fileUser, Consumer<? super S> closingAction)
Methods inherited from interface one.microstream.storage.types.StorageBackupableFile
ensureBackupFile
-
Method Details
-
hasUsers
boolean hasUsers() -
executeIfUnsued
-
registerUsage
-
clearUsages
-
unregisterUsage
-
unregisterUsageClosing
-