OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.10.0
API documentation
SnapshotRecoveryOptions Struct Reference

#include <HandlerSettings.h>

Public Member Functions

 SnapshotRecoveryOptions ()
 
std::string toString () const
 

Public Attributes

int snapshotRecoveryTimeoutInMilliseconds
 
int maximumNumberOfSnapshotRecoveryAttempts
 
size_t maximumSizeOfSnapshotMessageQueue
 
size_t maximumSizeOfLiveMessageQueue
 

Detailed Description

Definition at line 35 of file HandlerSettings.h.

Constructor & Destructor Documentation

Initializes instance with default values.

Member Function Documentation

std::string toString ( ) const

Returns string representation.

Member Data Documentation

int maximumNumberOfSnapshotRecoveryAttempts

Maximum Number Of Snapshot Recovery Attempts

  • -1 - unlimited (default)
  • 0 - not to use snapshots at all
  • >0 - the number of attempts

Definition at line 51 of file HandlerSettings.h.

size_t maximumSizeOfLiveMessageQueue

Maximum size of the live message queue

Note
Default value is 200000.

Definition at line 65 of file HandlerSettings.h.

size_t maximumSizeOfSnapshotMessageQueue

Maximum size of the snapshot message queue

Note
Default value is 200000.

Definition at line 58 of file HandlerSettings.h.

int snapshotRecoveryTimeoutInMilliseconds

Snapshot Recovery Timeout In Milliseconds

  • -1 - to wait indefinitely for snapshots (default)
  • 0 - not to use snapshots at all
  • >0 - the number of milliseconds to wait

Definition at line 43 of file HandlerSettings.h.


The documentation for this struct was generated from the following file: