Package ch.psi.wica.model.stream
Class WicaStreamProperties
java.lang.Object
ch.psi.wica.model.stream.WicaStreamProperties
- Direct Known Subclasses:
WicaStreamSerializer.WicaStreamPropertiesDeserializerMixin
,WicaStreamSerializer.WicaStreamPropertiesSerializerMixin
Represents the configurable properties of a wica stream.
These include parameters for controlling the frequency at which the various fluxes (heartbeat, metadata, monitored and polled values) are sent down the wire to the end consumer.
Additionally, the stream properties specify the default values that will be applied to the configuration of the individual wica channels that make up the stream, when they are not explicitly specified on the channels themselves.
-
Constructor Summary
ConstructorDescriptionWicaStreamProperties
(Boolean quietMode, Integer heartbeatFluxIntervalInMillis, Integer metadataFluxIntervalInMillis, Integer monitoredValueFluxIntervalInMillis, Integer polledValueFluxIntervalInMillis, WicaDataAcquisitionMode dataAcquisitionMode, Integer pollingIntervalInMillis, String fieldsOfInterest, Integer numericPrecision, WicaFilterType filterType, Integer filterNumSamples, Integer filterNumSamplesInAverage, Integer filterCycleLength, Integer filterSamplingIntervalInMillis, Double filterDeadband) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
double
int
int
int
int
int
int
int
int
int
boolean
int
hashCode()
-
Constructor Details
-
WicaStreamProperties
public WicaStreamProperties() -
WicaStreamProperties
public WicaStreamProperties(Boolean quietMode, Integer heartbeatFluxIntervalInMillis, Integer metadataFluxIntervalInMillis, Integer monitoredValueFluxIntervalInMillis, Integer polledValueFluxIntervalInMillis, WicaDataAcquisitionMode dataAcquisitionMode, Integer pollingIntervalInMillis, String fieldsOfInterest, Integer numericPrecision, WicaFilterType filterType, Integer filterNumSamples, Integer filterNumSamplesInAverage, Integer filterCycleLength, Integer filterSamplingIntervalInMillis, Double filterDeadband)
-
-
Method Details
-
getOptionalQuietMode
-
getQuietMode
public boolean getQuietMode() -
getOptionalHeartbeatFluxIntervalInMillis
-
getHeartbeatFluxIntervalInMillis
public int getHeartbeatFluxIntervalInMillis() -
getOptionalMetadataFluxIntervalInMillis
-
getMetadataFluxIntervalInMillis
public int getMetadataFluxIntervalInMillis() -
getOptionalMonitoredValueFluxIntervalInMillis
-
getMonitoredValueFluxIntervalInMillis
public int getMonitoredValueFluxIntervalInMillis() -
getOptionalPolledValueFluxIntervalInMillis
-
getPolledValueFluxIntervalInMillis
public int getPolledValueFluxIntervalInMillis() -
getOptionalDataAcquisitionMode
-
getDataAcquisitionMode
-
getOptionalFieldsOfInterest
-
getFieldsOfInterest
-
getOptionalFilterType
-
getFilterType
-
getOptionalNumericPrecision
-
getNumericPrecision
public int getNumericPrecision() -
getOptionalPollingIntervalInMillis
-
getPollingIntervalInMillis
public int getPollingIntervalInMillis() -
getOptionalFilterCycleLength
-
getFilterCycleLength
public int getFilterCycleLength() -
getOptionalFilterNumSamples
-
getFilterNumSamples
public int getFilterNumSamples() -
getOptionalFilterNumSamplesInAverage
-
getFilterNumSamplesInAverage
public int getFilterNumSamplesInAverage() -
getOptionalFilterDeadband
-
getFilterDeadband
public double getFilterDeadband() -
getOptionalFilterSamplingIntervalInMillis
-
getFilterSamplingIntervalInMillis
public int getFilterSamplingIntervalInMillis() -
equals
-
hashCode
public int hashCode()
-