• Version 1.15.2
Show / Hide Table of Contents

Class MessageMemoryPool

Message memory pool.

Inheritance
object
MessageMemoryPool
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public class MessageMemoryPool

Constructors

MessageMemoryPool(MessageInfo, int)

Creates the pool for a message without nested groups.

Declaration
public MessageMemoryPool(MessageInfo messageInfo, int maxNumberOfGroupInstances)
Parameters
Type Name Description
MessageInfo messageInfo

Fix message description

int maxNumberOfGroupInstances

Max number of group instances in a message

MessageMemoryPool(int, int, int, int, int, int, int, int)

Creates the pool.

Declaration
public MessageMemoryPool(int numberOfFieldArraysRetained, int maxLengthOfFieldArray, int numberOfGroupArraysRetained, int maxLengthOfGroupArray, int numberOfGroupInstanceArraysRetained, int maxLengthOfGroupInstanceArray, int numberOfGroups, int numberOfGroupInstances)
Parameters
Type Name Description
int numberOfFieldArraysRetained

Number of field arrays

int maxLengthOfFieldArray

Max length of field array

int numberOfGroupArraysRetained

Number of group arrays

int maxLengthOfGroupArray

Max length of group array

int numberOfGroupInstanceArraysRetained

Number of group instance arrays

int maxLengthOfGroupInstanceArray

Max length of group instance array

int numberOfGroups

Number of groups

int numberOfGroupInstances

Number of group instances

Methods

Preallocate()

Preallocates all pool objects.

Declaration
public void Preallocate()

Preallocate(int, int, int, int, int)

Preallocates specified numbers of objects.

Declaration
public void Preallocate(int numberOfFieldArrays, int numberOfGroupArrays, int numberOfGroupInstanceArrays, int numberOfGroups, int numberOfGroupInstances)
Parameters
Type Name Description
int numberOfFieldArrays

Number of field arrays

int numberOfGroupArrays

Number of group arrays

int numberOfGroupInstanceArrays

Number of group instance arrays

int numberOfGroups

Number of groups

int numberOfGroupInstances

Number of group instances

WarmUp(int, int, int, int, int)

Declaration
[Obsolete("This method is obsolete. Call Preallocate instead.")]
public void WarmUp(int numberOfFieldArrays, int numberOfGroupArrays, int numberOfGroupInstanceArrays, int numberOfGroups, int numberOfGroupInstances)
Parameters
Type Name Description
int numberOfFieldArrays
int numberOfGroupArrays
int numberOfGroupInstanceArrays
int numberOfGroups
int numberOfGroupInstances
In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX