Package com.example.provider1
Class ProviderUtil
-
- All Implemented Interfaces:
public class ProviderUtil extends BaseUtil
This class provides the configuration used for the provider instance.
Overwriting configuration steps allows customizing the behavior of the framework through injection.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringOPT_REPORT_INTERVALpublic final static StringOPT_WAVEFORMS_INTERVALpublic final Injectorinjectorpublic final DurationreportIntervalpublic final DurationwaveformIntervalpublic final CommandLineparsedArgspublic Stringeprpublic Stringifacepublic Stringaddress
-
Constructor Summary
Constructors Constructor Description ProviderUtil(Array<String> args)
-
Method Summary
Modifier and Type Method Description InjectorgetInjector()DurationgetReportInterval()DurationgetWaveformInterval()static voidaddMetricQualityDemo(AbstractMetricValue val)-
Methods inherited from class com.example.BaseUtil
createCustomCryptoSettings, getAddress, getEpr, getIface, getParsedArgs, isUseTls, setAddress, setEpr, setIface, setUseTls -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getInjector
Injector getInjector()
-
getReportInterval
Duration getReportInterval()
-
getWaveformInterval
Duration getWaveformInterval()
-
addMetricQualityDemo
static void addMetricQualityDemo(AbstractMetricValue val)
-
-
-
-