21 package org.opensplice.dds.core.policy;
29 private static final long serialVersionUID = 8740123506122702059L;
30 private final Kind kind;
31 private final int depth;
35 this.kind =
Kind.KEEP_LAST;
44 "Supplied invalid kind.");
89 public boolean equals(Object other) {
95 if (this.kind != h.kind) {
98 return (this.depth == h.depth);
103 final int prime = 31;
106 result = prime * result + this.kind.hashCode();
107 result = prime * result + this.depth;
History withKeepLast(int depth)
History withKind(Kind kind)
OsplServiceEnvironment environment
boolean equals(Object other)
HistoryImpl(OsplServiceEnvironment environment, Kind kind, int depth)
History withDepth(int depth)
Copy this policy and override the value of the property.
This class is the abstract root for all the QoS policies.
HistoryImpl(OsplServiceEnvironment environment)
Class<? extends QosPolicy > getPolicyClass()
Specifies the behavior of the Service in the case where the value of a sample changes (one or more ti...