| com.db4o.ObjectServer
All known Subclasses: com.db4o.internal.cs.ObjectServerImpl,
close | public boolean close()(Code) | | closes the
ObjectServer and writes all cached data.
true - denotes that the last instance connected to theused database file was closed. |
grantAccess | public void grantAccess(String userName, String password)(Code) | | grants client access to the specified user with the specified password.
If the user already exists, the password is changed to
the specified password.
Parameters: userName - the name of the user Parameters: password - the password to be used |
openClient | public ObjectContainer openClient()(Code) | | opens a client against this server.
A client opened with this method operates within the same VM
as the server. Since an embedded client can use direct communication, without
an in-between socket connection, performance will be better than a client
opened with
Db4o.openClient(java.lang.Stringintjava.lang.Stringjava.lang.String)
Every client has it's own transaction and uses it's own cache
for it's own version of all peristent objects.
|
|
|