Uses of Class
org.torproject.metrics.collector.conf.Key
-
Packages that use Key Package Description org.torproject.metrics.collector.conf org.torproject.metrics.collector.cron -
-
Uses of Key in org.torproject.metrics.collector.conf
Methods in org.torproject.metrics.collector.conf that return Key Modifier and Type Method Description static Key
Key. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Key[]
Key. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.torproject.metrics.collector.conf with parameters of type Key Modifier and Type Method Description boolean
Configuration. getBool(Key key)
Returns aboolean
property (case insensitiv), e.g.int
Configuration. getInt(Key key)
Parse an integer property and translate the String"inf"
into Integer.MAX_VALUE.long
Configuration. getLong(Key key)
Parse a long property.java.nio.file.Path
Configuration. getPath(Key key)
Returns aPath
property, e.g.java.util.Set<SourceType>
Configuration. getSourceTypeSet(Key key)
Returns aSourceType
as List, e.g.java.lang.String[]
Configuration. getStringArray(Key key)
ReturnsString[]
from a property.java.lang.String[][]
Configuration. getStringArrayArray(Key key)
ReturnsString[][]
from a property.java.net.URL
Configuration. getUrl(Key key)
Returns aURL
property, e.g.java.net.URL[]
Configuration. getUrlArray(Key key)
ReturnsURL[]
from a property. -
Uses of Key in org.torproject.metrics.collector.cron
Method parameters in org.torproject.metrics.collector.cron with type arguments of type Key Modifier and Type Method Description void
Scheduler. scheduleModuleRuns(java.util.Map<Key,java.lang.Class<? extends CollecTorMain>> collecTorMains, Configuration conf)
Schedule all classes given according to the parameters in the the configuration.
-