db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com>
Subject Listing all databases which are active
Date Fri, 09 Jul 2010 03:57:38 GMT
Hi all.

We are embedding DerbyNetworkServer to serve databases to clients, and
I would like to automatically shut down databases once they are no
longer in use to reclaim system resources but also to allow moving
files out of the directory if they are no longer being used.
Currently Derby will keep them open, which ultimately locks the data
from being moved around.

Shutting them down is quite simple, but if there is a user connected
then I'm sure this will cause undesirable or at least undefined
results.

Is there some way to know which ones are in use before shutting it down?

Alternatively, is there some way to embed Derby's server which will do
this automatically?

Daniel


-- 
Daniel Noll                            Forensic and eDiscovery Software
Senior Developer                              The world's most advanced
Nuix                                                email data analysis
http://nuix.com/                                and eDiscovery software

Mime
View raw message