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

Public Member Functions

 SchedulingImpl (OsplServiceEnvironment environment)
 
 SchedulingImpl (OsplServiceEnvironment environment, SchedulingClass schedulingClass, SchedulingKind schedulingKind, int priority)
 
boolean equals (Object other)
 
ServiceEnvironment getEnvironment ()
 
SchedulingKind getKind ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int getPriority ()
 
SchedulingClass getSchedulingClass ()
 
int hashCode ()
 
Scheduling withKind (SchedulingKind schedulingKind)
 Copy this policy and override the value of the property. More...
 
Scheduling withPriority (int priority)
 Copy this policy and override the value of the priority that will be assigned to threads spawned by the org.omg.dds.domain.DomainParticipant. More...
 
Scheduling withSchedulingClass (SchedulingClass schedulingClass)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 29 of file SchedulingImpl.java.

Constructor & Destructor Documentation

◆ SchedulingImpl() [1/2]

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

Definition at line 36 of file SchedulingImpl.java.

◆ SchedulingImpl() [2/2]

org.opensplice.dds.core.policy.SchedulingImpl.SchedulingImpl ( OsplServiceEnvironment  environment,
SchedulingClass  schedulingClass,
SchedulingKind  schedulingKind,
int  priority 
)

Definition at line 43 of file SchedulingImpl.java.

Member Function Documentation

◆ equals()

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

Definition at line 100 of file SchedulingImpl.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()

SchedulingKind org.opensplice.dds.core.policy.SchedulingImpl.getKind ( )
Returns
the value of the SchedulingKind.

Implements org.opensplice.dds.core.policy.Scheduling.

Definition at line 67 of file SchedulingImpl.java.

◆ getPolicyClass()

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

Definition at line 95 of file SchedulingImpl.java.

◆ getPriority()

int org.opensplice.dds.core.policy.SchedulingImpl.getPriority ( )
Returns
the value of the priority.

Implements org.opensplice.dds.core.policy.Scheduling.

Definition at line 62 of file SchedulingImpl.java.

◆ getSchedulingClass()

SchedulingClass org.opensplice.dds.core.policy.SchedulingImpl.getSchedulingClass ( )
Returns
the value of the SchedulingClass.

Implements org.opensplice.dds.core.policy.Scheduling.

Definition at line 72 of file SchedulingImpl.java.

◆ hashCode()

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

Definition at line 116 of file SchedulingImpl.java.

◆ withKind()

Scheduling org.opensplice.dds.core.policy.SchedulingImpl.withKind ( SchedulingKind  schedulingKind)

Copy this policy and override the value of the property.

Parameters
schedulingKindSpecifies the scheduling type, which may be either RELATIVE or ABSOLUTE.
Returns
a new Scheduling policy

Implements org.opensplice.dds.core.policy.Scheduling.

Definition at line 83 of file SchedulingImpl.java.

◆ withPriority()

Scheduling org.opensplice.dds.core.policy.SchedulingImpl.withPriority ( int  priority)

Copy this policy and override the value of the priority that will be assigned to threads spawned by the org.omg.dds.domain.DomainParticipant.

Threads can only be spawned with priorities that are supported by the underlying Operating System.

Parameters
priorityThe priority to be set.
Returns
a new Scheduling policy

Implements org.opensplice.dds.core.policy.Scheduling.

Definition at line 77 of file SchedulingImpl.java.

◆ withSchedulingClass()

Scheduling org.opensplice.dds.core.policy.SchedulingImpl.withSchedulingClass ( SchedulingClass  schedulingClass)

Copy this policy and override the value of the property.

Parameters
schedulingClassSpecifies the scheduling class used by the Operating System, which may be DEFAULT, TIMESHARING or REALTIME. Threads can only be spawned within the scheduling classes that are supported by the underlying Operating System.
Returns
a new Scheduling policy

Implements org.opensplice.dds.core.policy.Scheduling.

Definition at line 89 of file SchedulingImpl.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: