OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.core.event.SampleLostEvent< TYPE > Class Template Referenceabstract

A sample has been lost (never received). More...

Inheritance diagram for org.omg.dds.core.event.SampleLostEvent< TYPE >:
Inheritance graph
Collaboration diagram for org.omg.dds.core.event.SampleLostEvent< TYPE >:
Collaboration graph

Public Member Functions

abstract SampleLostEvent< TYPE > clone ()
 
abstract SOURCE getSource ()
 
abstract SampleLostStatus getStatus ()
 

Protected Member Functions

 SampleLostEvent (DataReader< TYPE > source)
 
void setSource (SOURCE source)
 

Detailed Description

A sample has been lost (never received).

The following events can lead to a SampleLost event:

  • When the Presentation QoS is used with coherentAccess set to true and ResourceLimits Qos is active a sample lost can occur when all resources are consumed by incomplete transactions. In order to prevent deadlocks the the current transaction is dropped which causes a SampleLost event.

  • When the DestinationOrder QoS is set to BY_SOURCE_TIMESTAMP It can happen that older data is inserted after newer data is already taken by the DataReader. In this case the older data is not inserted into the DataReader and a SampleLost is reported.
  • When the networking service detects a gap between sequence numbers of incoming data it will report a SampleLost event
Parameters
<TYPE>The data type of the source org.omg.dds.sub.DataReader.
See also
SampleLostStatus

Definition at line 46 of file SampleLostEvent.java.

Constructor & Destructor Documentation

◆ SampleLostEvent()

org.omg.dds.core.event.SampleLostEvent< TYPE >.SampleLostEvent ( DataReader< TYPE >  source)
protected

Definition at line 66 of file SampleLostEvent.java.

Member Function Documentation

◆ clone()

abstract SampleLostEvent<TYPE> org.omg.dds.core.event.SampleLostEvent< TYPE >.clone ( )
abstract

◆ getSource()

abstract SOURCE org.omg.dds.core.event.StatusChangedEvent< SOURCE extends Entity<?, ?>.getSource ( )
abstractinherited

◆ getStatus()

abstract SampleLostStatus org.omg.dds.core.event.SampleLostEvent< TYPE >.getStatus ( )
abstract

◆ setSource()

void org.omg.dds.core.event.StatusChangedEvent< SOURCE extends Entity<?, ?>.setSource ( SOURCE  source)
protectedinherited

Definition at line 68 of file StatusChangedEvent.java.


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