Package | Description |
---|---|
org.torproject.onionoo.updater |
Modifier and Type | Method and Description |
---|---|
static DescriptorSource |
DescriptorSourceFactory.getDescriptorSource()
Returns the singleton descriptor source instance that gets created
upon first invocation of this method.
|
Modifier and Type | Method and Description |
---|---|
static void |
DescriptorSourceFactory.setDescriptorSource(DescriptorSource descriptorSource)
Sets a custom singleton descriptor source instance that will be
returned by
DescriptorSourceFactory.getDescriptorSource() rather than creating an
instance upon first invocation. |