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 KeyKey. 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 booleanConfiguration. getBool(Key key)Returns abooleanproperty (case insensitiv), e.g.intConfiguration. getInt(Key key)Parse an integer property and translate the String"inf"into Integer.MAX_VALUE.longConfiguration. getLong(Key key)Parse a long property.java.nio.file.PathConfiguration. getPath(Key key)Returns aPathproperty, e.g.java.util.Set<SourceType>Configuration. getSourceTypeSet(Key key)Returns aSourceTypeas List, e.g.java.lang.String[]Configuration. getStringArray(Key key)ReturnsString[]from a property.java.net.URLConfiguration. getUrl(Key key)Returns aURLproperty, 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 booleanScheduler. scheduleModuleRuns(java.util.Map<Key,java.lang.Class<? extends CollecTorMain>> collecTorMains, Configuration conf)Schedule all classes given according to the parameters in the configuration and return whether the caller should wait for completion.
-