public class LocalModelDescriptorStorage extends Object implements ModelDescriptorStorage
| Constructor and Description |
|---|
LocalModelDescriptorStorage() |
| Modifier and Type | Method and Description |
|---|---|
ModelDescriptor |
get(String name)
Returns model descriptor saved for the specified model identifier.
|
Iterator<IgniteBiTuple<String,ModelDescriptor>> |
iterator()
Returns iterator of model descriptors stored in this model descriptor storage.
|
void |
put(String name,
ModelDescriptor mdl)
Saves the specified model descriptor with the specified model identifier.
|
boolean |
putIfAbsent(String mdlId,
ModelDescriptor mdl)
Saves the specified model descriptor with the specified model identifier if it's not saved yet.
|
void |
remove(String name)
Removes model descriptor for the specified model descriptor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void put(String name, ModelDescriptor mdl)
put in interface ModelDescriptorStoragename - Model identifier.mdl - Model descriptor.public boolean putIfAbsent(String mdlId, ModelDescriptor mdl)
putIfAbsent in interface ModelDescriptorStoragemdlId - Model identifier.mdl - Model descriptor.true if model descriptor has been successfully saved, otherwise false.public ModelDescriptor get(String name)
get in interface ModelDescriptorStoragename - Model identifier.public void remove(String name)
remove in interface ModelDescriptorStoragename - Model identifier.public Iterator<IgniteBiTuple<String,ModelDescriptor>> iterator()
iterator in interface Iterable<IgniteBiTuple<String,ModelDescriptor>>iterator in interface ModelDescriptorStorage
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024