Package one.microstream.storage.types
Class StorageLiveFile.Abstract<S extends StorageLiveFile<S>>
java.lang.Object
one.microstream.storage.types.StorageFile.Abstract
one.microstream.storage.types.StorageLiveFile.Abstract<S>
- All Implemented Interfaces:
- StorageBackupableFile,- StorageClosableFile,- StorageFile,- StorageLiveFile<S>
- Direct Known Subclasses:
- StorageLiveDataFile.Default,- StorageLiveTransactionsFile.Default
- Enclosing interface:
- StorageLiveFile<S extends StorageLiveFile<S>>
public abstract static class StorageLiveFile.Abstract<S extends StorageLiveFile<S>> extends StorageFile.Abstract implements StorageLiveFile<S>
- 
Nested Class SummaryNested classes/interfaces inherited from interface one.microstream.storage.types.StorageFileStorageFile.AbstractNested classes/interfaces inherited from interface one.microstream.storage.types.StorageLiveFileStorageLiveFile.Abstract<S extends StorageLiveFile<S>>
- 
Constructor SummaryConstructors Constructor Description Abstract()
- 
Method SummaryModifier and Type Method Description booleanclearUsages(StorageFileUser fileUser)booleanexecuteIfUnsued(Consumer<? super S> action)booleanhasUsers()booleanregisterUsage(StorageFileUser fileUser)booleanunregisterUsage(StorageFileUser fileUser)booleanunregisterUsageClosing(StorageFileUser fileUser, Consumer<? super S> closingAction)Methods inherited from class one.microstream.storage.types.StorageFile.Abstractclose, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, delete, exists, file, isOpen, moveTo, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, size, toString, truncate, writeBytesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface one.microstream.storage.types.StorageBackupableFileensureBackupFile
- 
Constructor Details- 
Abstractpublic Abstract()
 
- 
- 
Method Details- 
hasUserspublic final boolean hasUsers()- Specified by:
- hasUsersin interface- StorageLiveFile<S extends StorageLiveFile<S>>
 
- 
executeIfUnsued- Specified by:
- executeIfUnsuedin interface- StorageLiveFile<S extends StorageLiveFile<S>>
 
- 
registerUsage- Specified by:
- registerUsagein interface- StorageLiveFile<S extends StorageLiveFile<S>>
 
- 
clearUsages- Specified by:
- clearUsagesin interface- StorageLiveFile<S extends StorageLiveFile<S>>
 
- 
unregisterUsage- Specified by:
- unregisterUsagein interface- StorageLiveFile<S extends StorageLiveFile<S>>
 
- 
unregisterUsageClosing- Specified by:
- unregisterUsageClosingin interface- StorageLiveFile<S extends StorageLiveFile<S>>
 
 
-