Class BatchSettings
The batch consuming settings.
Inheritance
System.Object
BatchSettings
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Sequences.Batch
Assembly: Silverback.Integration.dll
Syntax
public sealed class BatchSettings : IEquatable<BatchSettings>, IValidatableEndpointSettings
Properties
| Improve this doc View sourceMaxWaitTime
Gets or sets the maximum amount of time to wait for the batch to be filled. After this time the
batch will be completed even if the specified Size
is not reached.
Declaration
public TimeSpan? MaxWaitTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
Size
Gets or sets the number of messages to be processed in batch. Setting this property to a value greater than 1 enables batch consuming.
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this doc View sourceEquals(BatchSettings)
Declaration
public bool Equals(BatchSettings other)
Parameters
Type | Name | Description |
---|---|---|
BatchSettings | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this doc
View source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this doc
View source
Validate()
Declaration
public void Validate()
Implements
System.IEquatable<T>