Bug #3403
make VirtualFileSystem a singleton
Status: | Closed | Start date: | 05/22/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | 0.2 - reliability and cacheword interop | |||
Component: |
Description
In order to represent that there is only a single `VirtualFileSystem` per process, `VirtualFileSystem` should be a singleton, and the user should get the instance using `VirtualFileSystem.get(String dbFilename)`.
Associated revisions
VirtualFileSystem now a singleton, only one mount can be active at a time
Since the current state of this code is that there can only be a single
virtual file system mounted at a time, convert VirtualFileSystem to a
singleton to make this fact clearer.
History
#1 Updated by hans over 3 years ago
- Status changed from New to Resolved
#2 Updated by hans over 3 years ago
- Status changed from Resolved to Closed