Bug #3403

make VirtualFileSystem a singleton

Added by hans over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:05/22/2014
Priority:NormalDue 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

Revision df23e0a1
Added by Hans-Christoph Steiner over 3 years ago

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.

closes #3403 https://dev.guardianproject.info/issues/3403

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

Also available in: Atom PDF