Package org.jppf.admin.web.settings
Class JPPFAsyncFilePersistence
java.lang.Object
org.jppf.admin.web.settings.AbstractPersistence
org.jppf.admin.web.settings.AbstractFilePersistence
org.jppf.admin.web.settings.JPPFAsyncFilePersistence
- All Implemented Interfaces:
AutoCloseable,Persistence
File-based persistence, using an asynchronous write-behind mechanism for save operations.
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidsaveString(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
loadProperties, saveProperties
-
Constructor Details
-
JPPFAsyncFilePersistence
public JPPFAsyncFilePersistence()
-
-
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.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePersistence- Overrides:
closein classAbstractPersistence
-