Package one.microstream.storage.types
Class StorageBackupFile.Default
- java.lang.Object
 - 
- one.microstream.storage.types.StorageBackupFile.Default
 
 
- 
- All Implemented Interfaces:
 StorageBackupFile,StorageChannelFile,StorageFile,StorageHashChannelPart,StorageNumberedFile
- Enclosing interface:
 - StorageBackupFile
 
public static final class StorageBackupFile.Default extends Object implements StorageBackupFile
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageBackupFile
StorageBackupFile.Default 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Default() 
- 
Method Summary
Modifier and Type Method Description intchannelIndex()voidclose()booleandelete()booleanexists()FileChannelfileChannel()StorageFileflush()Stringidentifier()Returns a string uniquely identifying the file represented by this instance.StorageInventoryFileinventorize()booleanisEmpty()booleanisOpen()longlength()Stringname()Return a compact string containing a specific, but not necessarily unique name of the file represented by this instance.longnumber()Stringqualifier()Returns a string that givesStorageFile.name()a unique identity. 
 - 
 
- 
- 
Method Detail
- 
channelIndex
public final int channelIndex()
- Specified by:
 channelIndexin interfaceStorageHashChannelPart
 
- 
number
public final long number()
- Specified by:
 numberin interfaceStorageNumberedFile
 
- 
inventorize
public final StorageInventoryFile inventorize()
- Specified by:
 inventorizein interfaceStorageNumberedFile
 
- 
qualifier
public final String qualifier()
Description copied from interface:StorageFileReturns a string that givesStorageFile.name()a unique identity. Example: The parent directory path of a file.- Specified by:
 qualifierin interfaceStorageFile
 
- 
identifier
public final String identifier()
Description copied from interface:StorageFileReturns a string uniquely identifying the file represented by this instance.- Specified by:
 identifierin interfaceStorageFile- Returns:
 - this file's unique identifier.
 - See Also:
 StorageFile.name()
 
- 
name
public final String name()
Description copied from interface:StorageFileReturn a compact string containing a specific, but not necessarily unique name of the file represented by this instance. Might be the same string returned byStorageFile.identifier().- Specified by:
 namein interfaceStorageFile- Returns:
 - this file's name.
 - See Also:
 StorageFile.identifier()
 
- 
length
public final long length()
- Specified by:
 lengthin interfaceStorageFile
 
- 
delete
public final boolean delete()
- Specified by:
 deletein interfaceStorageFile
 
- 
exists
public final boolean exists()
- Specified by:
 existsin interfaceStorageFile
 
- 
isEmpty
public final boolean isEmpty()
- Specified by:
 isEmptyin interfaceStorageFile
 
- 
fileChannel
public FileChannel fileChannel()
- Specified by:
 fileChannelin interfaceStorageFile
 
- 
isOpen
public final boolean isOpen()
- Specified by:
 isOpenin interfaceStorageFile
 
- 
flush
public final StorageFile flush()
- Specified by:
 flushin interfaceStorageFile
 
- 
close
public final void close()
- Specified by:
 closein interfaceStorageFile
 
 - 
 
 -