Package org.jppf.admin.web.settings
Class JPPFFilePersistence
java.lang.Object
org.jppf.admin.web.settings.AbstractPersistence
org.jppf.admin.web.settings.AbstractFilePersistence
org.jppf.admin.web.settings.JPPFFilePersistence
- All Implemented Interfaces:
AutoCloseable,Persistence
File-based persistence, using a synchronous write-through mechanism.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsaveString(String name, String settings) Save the settings for the specified user.Methods inherited from class org.jppf.admin.web.settings.AbstractFilePersistence
loadStringMethods inherited from class org.jppf.admin.web.settings.AbstractPersistence
close, loadProperties, saveProperties
-
Constructor Details
-
JPPFFilePersistence
public JPPFFilePersistence()
-
-
Method Details
-
saveString
Description copied from interface:PersistenceSave the settings for the specified user.- Parameters:
name- the name of the file to save to.settings- the settings to save.- Throws:
Exception- if any error occurs.
-