public class IgniteModelStorageProvider extends Object implements ModelStorageProvider
ModelStorageProvider based on Apache Ignite cache.| Constructor and Description |
|---|
IgniteModelStorageProvider(IgniteCache<String,FileOrDirectory> cache)
Constructs a new instance of Ignite model storage provider.
|
| Modifier and Type | Method and Description |
|---|---|
FileOrDirectory |
get(String path)
Returns file or directory associated with the specified path.
|
Lock |
lock(String path)
Locks the specified path.
|
void |
put(String path,
FileOrDirectory file)
Saves file or directory associated with the specified path.
|
void |
remove(String path)
Removes file or directory associated with the specified path.
|
public IgniteModelStorageProvider(IgniteCache<String,FileOrDirectory> cache)
cache - Storage of the files and directories.public FileOrDirectory get(String path)
get in interface ModelStorageProviderpath - Path of file or directory.public void put(String path, FileOrDirectory file)
put in interface ModelStorageProviderpath - Path to the file or directory.file - File or directory to be saved.public void remove(String path)
remove in interface ModelStorageProviderpath - Path to the file or directory.public Lock lock(String path)
lock in interface ModelStorageProviderpath - Path to be locked.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025