hep.aida.dev
Interface IDevMutableStore
-
- All Superinterfaces:
- IMutableStore, IOnDemandStore, IStore
public interface IDevMutableStore extends IMutableStore
Developer level interface to an IMutableStore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IManagedObjectcreateObject(java.lang.String name, java.lang.String type)Create an IManagedObject that can be later updated.voidupdateData(java.lang.String path, java.lang.String type)Initiates the process of updating content for an IManagedObject.-
Methods inherited from interface hep.aida.dev.IOnDemandStore
read
-
Methods inherited from interface hep.aida.dev.IStore
close, commit, isReadOnly, read
-
-
-
-
Method Detail
-
updateData
void updateData(java.lang.String path, java.lang.String type) throws java.lang.IllegalArgumentExceptionInitiates the process of updating content for an IManagedObject. Can be done synchronously or can just schedule update in some queue. If validation mechanism is used for updates, servant's "setValid(path)" method should be called here after successfull date update.- Parameters:
path- The path to the object which is to be updated.type- Type of object (this parameter does not have to be used).- Throws:
java.lang.IllegalArgumentException- If the path does not exist, or if it is a directory.
-
createObject
IManagedObject createObject(java.lang.String name, java.lang.String type) throws java.lang.IllegalArgumentException
Create an IManagedObject that can be later updated. If object already exist, do not overwrite it, just return with, maybe, a warning.- Parameters:
name- Simple name of an object which is to be created, no directories.type- Type of object.- Throws:
java.lang.IllegalArgumentException- If unknown type.
-
-
DMelt 3.0 © DataMelt by jWork.ORG