OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
All Classes Namespaces Files Functions Variables Pages
org.opensplice.dds.core.policy.ReaderDataLifecycleImpl Class Reference
Inheritance diagram for org.opensplice.dds.core.policy.ReaderDataLifecycleImpl:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.policy.ReaderDataLifecycleImpl:
Collaboration graph

Public Member Functions

 ReaderDataLifecycleImpl (OsplServiceEnvironment environment)
 
 ReaderDataLifecycleImpl (OsplServiceEnvironment environment, Duration autoPurgeNoWriterSamplesDelay, Duration autoPurgeDisposedSamplesDelay, boolean autoPurgeDisposeAll, Kind invalidSampleVisibility)
 
boolean equals (Object other)
 
boolean getAutoPurgeDisposeAll ()
 
Duration getAutoPurgeDisposedSamplesDelay ()
 
Duration getAutoPurgeNoWriterSamplesDelay ()
 
ServiceEnvironment getEnvironment ()
 
Kind getInvalidSampleInvisibility ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
org.opensplice.dds.core.policy.ReaderDataLifecycle withAutoPurgeDisposeAll ()
 
ReaderDataLifecycle withAutoPurgeDisposedSamplesDelay (Duration autoPurgeDisposedSamplesDelay)
 Copy this policy and override the value of the property. More...
 
ReaderDataLifecycle withAutoPurgeDisposedSamplesDelay (long autoPurgeDisposedSamplesDelay, TimeUnit unit)
 Copy this policy and override the value of the property. More...
 
ReaderDataLifecycle withAutoPurgeNoWriterSamplesDelay (Duration autoPurgeNoWriterSamplesDelay)
 Copy this policy and override the value of the property. More...
 
ReaderDataLifecycle withAutoPurgeNoWriterSamplesDelay (long autoPurgeNoWriterSamplesDelay, TimeUnit unit)
 Copy this policy and override the value of the property. More...
 
org.opensplice.dds.core.policy.ReaderDataLifecycle withInvalidSampleInvisibility (Kind kind)
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 31 of file ReaderDataLifecycleImpl.java.

Constructor & Destructor Documentation

◆ ReaderDataLifecycleImpl() [1/2]

org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.ReaderDataLifecycleImpl ( OsplServiceEnvironment  environment)

Definition at line 39 of file ReaderDataLifecycleImpl.java.

◆ ReaderDataLifecycleImpl() [2/2]

org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.ReaderDataLifecycleImpl ( OsplServiceEnvironment  environment,
Duration  autoPurgeNoWriterSamplesDelay,
Duration  autoPurgeDisposedSamplesDelay,
boolean  autoPurgeDisposeAll,
Kind  invalidSampleVisibility 
)

Definition at line 49 of file ReaderDataLifecycleImpl.java.

Member Function Documentation

◆ equals()

boolean org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.equals ( Object  other)

Definition at line 159 of file ReaderDataLifecycleImpl.java.

◆ getAutoPurgeDisposeAll()

boolean org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.getAutoPurgeDisposeAll ( )

Definition at line 85 of file ReaderDataLifecycleImpl.java.

◆ getAutoPurgeDisposedSamplesDelay()

Duration org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.getAutoPurgeDisposedSamplesDelay ( )
Returns
the duration of the autoPurgeDisposedSamplesDelay

Implements org.omg.dds.core.policy.ReaderDataLifecycle.

Definition at line 80 of file ReaderDataLifecycleImpl.java.

◆ getAutoPurgeNoWriterSamplesDelay()

Duration org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.getAutoPurgeNoWriterSamplesDelay ( )
Returns
the duration of the autoPurgeNoWriterSamplesDelay

Implements org.omg.dds.core.policy.ReaderDataLifecycle.

Definition at line 75 of file ReaderDataLifecycleImpl.java.

◆ getEnvironment()

ServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.getEnvironment ( )
inherited
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 40 of file QosPolicyImpl.java.

◆ getInvalidSampleInvisibility()

Kind org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.getInvalidSampleInvisibility ( )

Definition at line 90 of file ReaderDataLifecycleImpl.java.

◆ getPolicyClass()

Class<? extends QosPolicy> org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.getPolicyClass ( )

Definition at line 154 of file ReaderDataLifecycleImpl.java.

◆ hashCode()

int org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.hashCode ( )

Definition at line 180 of file ReaderDataLifecycleImpl.java.

◆ withAutoPurgeDisposeAll()

org.opensplice.dds.core.policy.ReaderDataLifecycle org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.withAutoPurgeDisposeAll ( )

Definition at line 125 of file ReaderDataLifecycleImpl.java.

◆ withAutoPurgeDisposedSamplesDelay() [1/2]

ReaderDataLifecycle org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.withAutoPurgeDisposedSamplesDelay ( Duration  autoPurgeDisposedSamplesDelay)

Copy this policy and override the value of the property.

Parameters
autoPurgeDisposedSamplesDelaySpecifies a duration autoPurgeDisposedSamplesDelay for which the DataReader will maintain information regarding a data instance for which the instance_state becomes NOT_ALIVE_DISPOSED. By default the duration value is DURATION_INFINITE. When the delay time has expired, the data instance is marked so that it can be purged in the next garbage collection sweep.
Returns
a new ReaderDataLifecycle policy

Implements org.omg.dds.core.policy.ReaderDataLifecycle.

Definition at line 115 of file ReaderDataLifecycleImpl.java.

◆ withAutoPurgeDisposedSamplesDelay() [2/2]

ReaderDataLifecycle org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.withAutoPurgeDisposedSamplesDelay ( long  autoPurgeDisposedSamplesDelay,
TimeUnit  unit 
)

Copy this policy and override the value of the property.

Parameters
autoPurgeDisposedSamplesDelaySpecifies a long autoPurgeDisposedSamplesDelay for which the DataReader will maintain information regarding a data instance for which the instance_state becomes NOT_ALIVE_DISPOSED. By default the duration value is DURATION_INFINITE. When the delay time has expired, the data instance is marked so that it can be purged in the next garbage collection sweep.
unitThe TimeUnit which the period describes (i.e. TimeUnit.SECONDS or TimeUnit.MILLISECONDS)
Returns
a new policy

Implements org.omg.dds.core.policy.ReaderDataLifecycle.

Definition at line 144 of file ReaderDataLifecycleImpl.java.

◆ withAutoPurgeNoWriterSamplesDelay() [1/2]

ReaderDataLifecycle org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.withAutoPurgeNoWriterSamplesDelay ( Duration  autoPurgeNoWriterSamplesDelay)

Copy this policy and override the value of the property.

Parameters
autoPurgeNoWriterSamplesDelaySpecifies the duration for which the DataReader will maintain information regarding a data instance for which the instance_state becomes NOT_ALIVE_NO_WRITERS. By default the duration value is DURATION_INFINITE. When the delay time has expired, the data instance is marked so that it can be purged in the next garbage collection sweep.
Returns
a new ReaderDataLifecycle policy

Implements org.omg.dds.core.policy.ReaderDataLifecycle.

Definition at line 95 of file ReaderDataLifecycleImpl.java.

◆ withAutoPurgeNoWriterSamplesDelay() [2/2]

ReaderDataLifecycle org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.withAutoPurgeNoWriterSamplesDelay ( long  autoPurgeNoWriterSamplesDelay,
TimeUnit  unit 
)

Copy this policy and override the value of the property.

Parameters
autoPurgeNoWriterSamplesDelaySpecifies a long autoPurgeNoWriterSamplesDelay for which the DataReader will maintain information regarding a data instance for which the instance_state becomes NOT_ALIVE_NO_WRITERS. By default the duration value is DURATION_INFINITE. When the delay time has expired, the data instance is marked so that it can be purged in the next garbage collection sweep.
unitThe TimeUnit which the period describes (i.e. TimeUnit.SECONDS or TimeUnit.MILLISECONDS)
Returns
a new ReaderDataLifecycle policy

Implements org.omg.dds.core.policy.ReaderDataLifecycle.

Definition at line 105 of file ReaderDataLifecycleImpl.java.

◆ withInvalidSampleInvisibility()

org.opensplice.dds.core.policy.ReaderDataLifecycle org.opensplice.dds.core.policy.ReaderDataLifecycleImpl.withInvalidSampleInvisibility ( Kind  kind)

Definition at line 134 of file ReaderDataLifecycleImpl.java.

Member Data Documentation

◆ environment

OsplServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.environment
protectedinherited

Definition at line 29 of file QosPolicyImpl.java.


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