OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
Scheduling.java
Go to the documentation of this file.
1 /*
2  * Vortex OpenSplice
3  *
4  * This software and documentation are Copyright 2006 to 2024 ADLINK
5  * Technology Limited, its affiliated companies and licensors. All rights
6  * reserved.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 package org.opensplice.dds.core.policy;
22 
24 
45 public interface Scheduling extends QosPolicy.ForDomainParticipant {
49  public int getPriority();
50 
54  public SchedulingKind getKind();
55 
60 
70  public Scheduling withPriority(int priority);
71 
77  public Scheduling withKind(SchedulingKind schedulingKind);
78 
87  public Scheduling withSchedulingClass(SchedulingClass schedulingClass);
88 
92  public enum SchedulingKind {
93  ABSOLUTE, RELATIVE
94  }
95 
101  public enum SchedulingClass {
102  DEFAULT, REALTIME, TIMESHARING
103  }
104 
111  public static interface WatchdogScheduling extends Scheduling {
112  };
113 
120  public static interface ListenerScheduling extends Scheduling {
121  };
122 }
Scheduling withPriority(int priority)
Copy this policy and override the value of the priority that will be assigned to threads spawned by t...
Scheduling withKind(SchedulingKind schedulingKind)
Copy this policy and override the value of the property.
Scheduling withSchedulingClass(SchedulingClass schedulingClass)
Copy this policy and override the value of the property.
specifies the priority type, which may be either RELATIVE or ABSOLUTE.
Definition: Scheduling.java:92
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 ...
Definition: Scheduling.java:45
This class is the abstract root for all the QoS policies.
Definition: QosPolicy.java:118
specifies the scheduling class used by the Operating System, which may be DEFAULT, REALTIME or TIMESHARING.
A QosPolicy interface that implements this marker interface applies to org.omg.dds.domain.DomainParticipant Entities.
Definition: QosPolicy.java:133
Scheduling for the Listener thread of a org.omg.dds.domain.DomainParticipant.