anvil.server.file
Class PersistentFileNamespace
java.lang.Object
|
+--anvil.server.file.PersistentFileNamespace
- All Implemented Interfaces:
- Namespace, PersistentNamespace
- Direct Known Subclasses:
- FileCitizen, FileTribe
- public class PersistentFileNamespace
- extends java.lang.Object
- implements PersistentNamespace
class PersistentFileNamespace
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_zone
protected Zone _zone
_file
protected java.io.File _file
_copyonget
protected boolean _copyonget
_copyonset
protected boolean _copyonset
_loaded
protected boolean _loaded
_modcount
protected int _modcount
_maxmodcount
protected int _maxmodcount
_lastmodified
protected long _lastmodified
_name
protected java.lang.String _name
_namespace
protected Array _namespace
PersistentFileNamespace
public PersistentFileNamespace()
PersistentFileNamespace
public PersistentFileNamespace(Zone zone,
java.lang.String name,
java.io.File file,
boolean copyonget,
boolean copyonset,
int maxmodcount)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getName
public java.lang.String getName()
- Specified by:
getName in interface Namespace
initialize
public void initialize(Zone zone,
NamespacePreferences prefs)
- Specified by:
initialize in interface PersistentNamespace
remove
public void remove()
commit
public void commit()
- Specified by:
commit in interface PersistentNamespace
stop
public void stop()
- Specified by:
stop in interface PersistentNamespace
getVariables
public BindingIterator getVariables()
- Specified by:
getVariables in interface Namespace
getVariable
public Any getVariable(java.lang.String name)
- Specified by:
getVariable in interface Namespace
setVariable
public Any setVariable(java.lang.String name,
Any value)
- Specified by:
setVariable in interface Namespace
checkVariable
public Any checkVariable(java.lang.String name)
- Specified by:
checkVariable in interface Namespace
deleteVariable
public boolean deleteVariable(java.lang.String name)
- Specified by:
deleteVariable in interface Namespace