Class RuntimeMonitoringElement
Represents configuration element containing settings for the node's monitoring system.
Inheritance
Namespace: Nevatech.Vsb.Repository.Configuration
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class RuntimeMonitoringElement : ConfigurationElement
Constructors
RuntimeMonitoringElement()
Declaration
public RuntimeMonitoringElement()
Fields
AccumulationPeriodAttributeName
Name of the attribute representing AccumulationPeriod property.
Declaration
public const string AccumulationPeriodAttributeName = "accumulationPeriod"
Field Value
Type | Description |
---|---|
System.String |
DeliveryPeriodAttributeName
Name of the attribute representing DeliveryPeriod property.
Declaration
public const string DeliveryPeriodAttributeName = "deliveryPeriod"
Field Value
Type | Description |
---|---|
System.String |
MaxBatchAgeAttributeName
Name of the attribute representing MaxBatchAge property.
Declaration
public const string MaxBatchAgeAttributeName = "maxBatchAge"
Field Value
Type | Description |
---|---|
System.String |
MaxBatchSizeAttributeName
Name of the attribute representing MaxBatchSize property.
Declaration
public const string MaxBatchSizeAttributeName = "maxBatchSize"
Field Value
Type | Description |
---|---|
System.String |
MaxRecordedMessageSizeAttributeName
Name of the attribute representing MaxRecordedMessageSize property.
Declaration
public const string MaxRecordedMessageSizeAttributeName = "maxRecordedMessageSize"
Field Value
Type | Description |
---|---|
System.String |
MaxTransactionPropertySizeAttributeName
Name of the attribute representing MaxTransactionPropertySize property.
Declaration
public const string MaxTransactionPropertySizeAttributeName = "maxTransactionPropertySize"
Field Value
Type | Description |
---|---|
System.String |
MaxUndeliveredActivitiesAttributeName
Name of the attribute representing MaxUndeliveredActivities property.
Declaration
public const string MaxUndeliveredActivitiesAttributeName = "maxUndeliveredActivities"
Field Value
Type | Description |
---|---|
System.String |
MaxUndeliveredRecordsAttributeName
Name of the attribute representing MaxUndeliveredRecords property.
Declaration
public const string MaxUndeliveredRecordsAttributeName = "maxUndeliveredRecords"
Field Value
Type | Description |
---|---|
System.String |
MaxUndeliveredTransactionPropertiesAttributeName
Name of the attribute representing MaxUndeliveredTransactionProperties property.
Declaration
public const string MaxUndeliveredTransactionPropertiesAttributeName = "maxUndeliveredTransactionProperties"
Field Value
Type | Description |
---|---|
System.String |
MaxUndeliveredTransactionsAttributeName
Name of the attribute representing MaxUndeliveredTransactions property.
Declaration
public const string MaxUndeliveredTransactionsAttributeName = "maxUndeliveredTransactions"
Field Value
Type | Description |
---|---|
System.String |
MinAvailableMemoryAttributeName
Name of the attribute representing MinAvailableMemory property.
Declaration
public const string MinAvailableMemoryAttributeName = "minAvailableMemory"
Field Value
Type | Description |
---|---|
System.String |
RetryIntervalAttributeName
Name of the attribute representing RetryInterval property.
Declaration
public const string RetryIntervalAttributeName = "retryInterval"
Field Value
Type | Description |
---|---|
System.String |
SystemMessageActionsElementName
Name of the element representing SystemMessageActions property.
Declaration
public const string SystemMessageActionsElementName = "systemMessageActions"
Field Value
Type | Description |
---|---|
System.String |
Properties
AccumulationPeriod
Gets or sets time interval between transaction start time and first attempt to deliver it. Default is 5 seconds.
Declaration
public TimeSpan AccumulationPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
DeliveryPeriod
Gets or sets time interval between subsequent checks for data that are ready to be delivered. Default is 5 seconds.
Declaration
public TimeSpan DeliveryPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
MaxBatchAge
Gets or sets the maximum age of an undelivered transaction, record, and activity to be batched. If specific object appears to be older it is dropped and not delived. If set to 0 then object never expires. Default is 20 minutes.
Declaration
public TimeSpan MaxBatchAge { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
MaxBatchSize
Gets or sets maximum approximate size (characters) of the outgoing batch with monitoring data. If more data are available they will be sent in the next batch. If set to 0, batch size is unlimited. Default is 1,048,576 (1MB).
Declaration
public int MaxBatchSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxRecordedMessageSize
Gets or sets the maximum recorded message size (in bytes). The recorded message will be truncated up to this size. Default is 262,144 (256KB).
Declaration
public int MaxRecordedMessageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxTransactionPropertySize
Gets or sets the maximum size (in bytes) of the monitoring transaction property value. The value will be truncated up to this size. Default is 262,144 (256KB).
Declaration
public int MaxTransactionPropertySize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxUndeliveredActivities
Gets or sets maximum number of undelivered activities in the cache. When cache is full, new activities will be dropped. If set to 0, cache size is unlimited. Default is 0.
Declaration
public int MaxUndeliveredActivities { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxUndeliveredRecords
Gets or sets maximum number of undelivered recorded messages in the cache. When cache is full, new records will be dropped. If set to 0, cache size is unlimited. Default is 10,000.
Declaration
public int MaxUndeliveredRecords { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxUndeliveredTransactionProperties
Gets or sets maximum number of undelivered transactions in the cache. When cache is full, new transactions will be dropped. If set to 0, cache size is unlimited. Default is 0.
Declaration
public int MaxUndeliveredTransactionProperties { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxUndeliveredTransactions
Gets or sets maximum number of undelivered transactions in the cache. When cache is full, new transactions will be dropped. If set to 0, cache size is unlimited. Default is 0.
Declaration
public int MaxUndeliveredTransactions { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinAvailableMemory
Gets or sets minimum available physical memory (bytes) to be able to add new items to the cache. If currently available memory is less than specified, new items will be dropped. If set to 0, memory is unlimited. Default is 262,144,000 (250MB).
Declaration
public int MinAvailableMemory { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Properties
Gets collection of configuration element properties.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
System.Configuration.ConfigurationPropertyCollection |
RetryInterval
Gets or sets the time period between the subsequent tries to deliver the monitoring data. If service call fails then undelivered batch is returned back into the cache. If set to 0 then no retries are going to be done and batch will be disposed. Default is 20 seconds.
Declaration
public TimeSpan RetryInterval { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
SystemMessageActions
Gets collection of element representing Action values of the protocol messages (system messages defined in WS-* specifications).
Declaration
public ValueElementCollection SystemMessageActions { get; }
Property Value
Type | Description |
---|---|
ValueElementCollection |