public interface FileOrDirectory extends Serializable
ModelStorageProvider
works with.Modifier and Type | Method and Description |
---|---|
long |
getModificationTs()
Returns time since file modification.
|
default boolean |
isDirectory()
Return
true if this object is a directory, otherwise false . |
boolean |
isFile()
Returns
true if this object is a regular file, otherwise false . |
default FileOrDirectory |
updateModifictaionTs()
Create new instance of filesystem object with current timestamp.
|
FileOrDirectory |
updateModifictaionTs(long modificationTs)
Create new instance of filesystem object with modified timestamp.
|
boolean isFile()
true
if this object is a regular file, otherwise false
.true
if this object is a regular file, otherwise false
.default boolean isDirectory()
true
if this object is a directory, otherwise false
.true
if this object is a directory, otherwise false
.long getModificationTs()
FileOrDirectory updateModifictaionTs(long modificationTs)
modificationTs
- Modification timestamp.default FileOrDirectory updateModifictaionTs()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024