Package | Description |
---|---|
org.torproject.metrics.onionoo.docs |
Documents managed by this service, including internal status files and
pre-written response objects.
|
Modifier and Type | Method and Description |
---|---|
static DocumentStore |
DocumentStoreFactory.getDocumentStore()
Returns the singleton document store instance that gets created upon
first invocation of this method.
|
Modifier and Type | Method and Description |
---|---|
static void |
DocumentStoreFactory.setDocumentStore(DocumentStore documentStore)
Sets a custom singleton document store instance that will be
returned by
DocumentStoreFactory.getDocumentStore() rather than creating an
instance upon first invocation. |