public class LocalModelStorageProvider extends Object implements ModelStorageProvider
ModelStorageProvider based on local ConcurrentHashMap.| Constructor and Description |
|---|
LocalModelStorageProvider() |
| Modifier and Type | Method and Description |
|---|---|
FileOrDirectory |
get(String key)
Returns file or directory associated with the specified path.
|
Lock |
lock(String key)
Locks the specified path.
|
void |
put(String key,
FileOrDirectory file)
Saves file or directory associated with the specified path.
|
void |
remove(String key)
Removes file or directory associated with the specified path.
|
public FileOrDirectory get(String key)
get in interface ModelStorageProviderkey - Path of file or directory.public void put(String key, FileOrDirectory file)
put in interface ModelStorageProviderkey - Path to the file or directory.file - File or directory to be saved.public void remove(String key)
remove in interface ModelStorageProviderkey - Path to the file or directory.public Lock lock(String key)
lock in interface ModelStorageProviderkey - Path to be locked.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025