OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.policy.HistoryImpl Class Reference
Inheritance diagram for org.opensplice.dds.core.policy.HistoryImpl:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.policy.HistoryImpl:
Collaboration graph

Public Member Functions

 HistoryImpl (OsplServiceEnvironment environment)
 
 HistoryImpl (OsplServiceEnvironment environment, Kind kind, int depth)
 
boolean equals (Object other)
 
int getDepth ()
 
ServiceEnvironment getEnvironment ()
 
Kind getKind ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
History withDepth (int depth)
 Copy this policy and override the value of the property. More...
 
History withKeepAll ()
 
History withKeepLast (int depth)
 
History withKind (Kind kind)
 
History withKind (Kind kind)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 28 of file HistoryImpl.java.

Constructor & Destructor Documentation

◆ HistoryImpl() [1/2]

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

Definition at line 33 of file HistoryImpl.java.

◆ HistoryImpl() [2/2]

org.opensplice.dds.core.policy.HistoryImpl.HistoryImpl ( OsplServiceEnvironment  environment,
Kind  kind,
int  depth 
)

Definition at line 39 of file HistoryImpl.java.

Member Function Documentation

◆ equals()

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

Definition at line 89 of file HistoryImpl.java.

◆ getDepth()

int org.opensplice.dds.core.policy.HistoryImpl.getDepth ( )
Returns
the depth

Implements org.omg.dds.core.policy.History.

Definition at line 56 of file HistoryImpl.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.

◆ getKind()

Kind org.opensplice.dds.core.policy.HistoryImpl.getKind ( )
Returns
the kind

Implements org.omg.dds.core.policy.History.

Definition at line 51 of file HistoryImpl.java.

◆ getPolicyClass()

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

Definition at line 84 of file HistoryImpl.java.

◆ hashCode()

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

Definition at line 102 of file HistoryImpl.java.

◆ withDepth()

History org.opensplice.dds.core.policy.HistoryImpl.withDepth ( int  depth)

Copy this policy and override the value of the property.

Parameters
depthSpecifies the number of samples of each instance of data (identified by its key) managed by this Entity.
Returns
a new History policy

Implements org.omg.dds.core.policy.History.

Definition at line 66 of file HistoryImpl.java.

◆ withKeepAll()

History org.opensplice.dds.core.policy.HistoryImpl.withKeepAll ( )
Returns
History with keep-all policy

Implements org.omg.dds.core.policy.History.

Definition at line 72 of file HistoryImpl.java.

◆ withKeepLast()

History org.opensplice.dds.core.policy.HistoryImpl.withKeepLast ( int  depth)
Returns
History with keep-last policy

Implements org.omg.dds.core.policy.History.

Definition at line 78 of file HistoryImpl.java.

◆ withKind() [1/2]

History org.opensplice.dds.core.policy.HistoryImpl.withKind ( Kind  kind)

Definition at line 61 of file HistoryImpl.java.

◆ withKind() [2/2]

History org.omg.dds.core.policy.History.withKind ( Kind  kind)
inherited

Copy this policy and override the value of the property.

Parameters
kindSpecifies the type of history, which may be KEEP_LAST or KEEP_ALL
Returns
a new History policy

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: