| de.danet.an.util.PersistentMap
All known Subclasses: de.danet.an.util.persistentmaps.JDBCPersistentMap,
PersistentMap | public interface PersistentMap extends Map(Code) | | This interface defines a persistent map. The entries in a persistent
map can be loaded from or saved to persistent storage.
|
Method Summary | |
public boolean | isModified() Indicates whether modifications need to be saved currently. | public void | load() Loads the map from persistent store. | public int | maxKeyLength() Retrieves the information about the maximum string length of key
entries. | public void | store() Stores the map in persistent store. |
isModified | public boolean isModified()(Code) | | Indicates whether modifications need to be saved currently.
true, if there are non-saved modifications, otherwise false. |
load | public void load() throws IOException(Code) | | Loads the map from persistent store. The data needed to define
the persistent store is usually passed as parameters to the
constructor of the implementing class.
throws: IOException - problems while loading the map |
maxKeyLength | public int maxKeyLength() throws IOException(Code) | | Retrieves the information about the maximum string length of key
entries.
the maximum string length of key entries throws: IOException - problems while storing the map |
store | public void store() throws IOException(Code) | | Stores the map in persistent store. The data needed to define
the persistent store is usually passed as parameters to the
constructor of the implementing class.
throws: IOException - problems while storing the map |
|
|