21 package org.opensplice.dds.core.policy;
31 private static final long serialVersionUID = -4704717290713490662L;
32 private final int priority;
48 if (schedulingClass == null) {
50 "Invalid scheduling class supplied.");
52 if (schedulingKind == null) {
54 "Invalid scheduling kind supplied.");
56 this.schedulingClass = schedulingClass;
57 this.schedulingKind = schedulingKind;
58 this.priority = priority;
68 return this.schedulingKind;
73 return this.schedulingClass;
79 this.schedulingKind, priority);
85 schedulingKind, this.priority);
91 this.schedulingKind, this.priority);
106 if (s.priority !=
this.priority) {
109 if (s.schedulingClass !=
this.schedulingClass) {
112 return (s.schedulingKind ==
this.schedulingKind);
117 final int prime = 31;
120 result = prime * result + this.priority;
121 result = prime * result + this.schedulingClass.hashCode();
123 return prime * result + this.schedulingKind.hashCode();
Scheduling withSchedulingClass(SchedulingClass schedulingClass)
Copy this policy and override the value of the property.
boolean equals(Object other)
OsplServiceEnvironment environment
SchedulingImpl(OsplServiceEnvironment environment)
specifies the priority type, which may be either RELATIVE or ABSOLUTE.
SchedulingClass getSchedulingClass()
SchedulingImpl(OsplServiceEnvironment environment, SchedulingClass schedulingClass, SchedulingKind schedulingKind, int priority)
Scheduling withPriority(int priority)
Copy this policy and override the value of the priority that will be assigned to threads spawned by t...
Scheduling for the Watchdog thread of a org.omg.dds.domain.DomainParticipant.
This QosPolicy specifies the scheduling parameters that will be used for a thread that is spawned by ...
This class is the abstract root for all the QoS policies.
specifies the scheduling class used by the Operating System, which may be DEFAULT, REALTIME or TIMESHARING.
Class<? extends QosPolicy > getPolicyClass()
Scheduling withKind(SchedulingKind schedulingKind)
Copy this policy and override the value of the property.
Scheduling for the Listener thread of a org.omg.dds.domain.DomainParticipant.