![]() |
OpenSplice Java 5 DCPS
v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|


Public Member Functions | |
| DurabilityServiceImpl (OsplServiceEnvironment environment) | |
| DurabilityServiceImpl (OsplServiceEnvironment environment, Duration serviceCleanupDelay, Kind historyKind, int historyDepth, int maxSamples, int maxInstances, int maxSamplesPerInstance) | |
| boolean | equals (Object other) |
| ServiceEnvironment | getEnvironment () |
| int | getHistoryDepth () |
| Kind | getHistoryKind () |
| int | getMaxInstances () |
| int | getMaxSamples () |
| int | getMaxSamplesPerInstance () |
| Class<? extends QosPolicy > | getPolicyClass () |
| Duration | getServiceCleanupDelay () |
| int | hashCode () |
| DurabilityService | withHistoryDepth (int historyDepth) |
| Copy this policy and override the value of the property. More... | |
| DurabilityService | withHistoryKind (History.Kind historyKind) |
| Copy this policy and override the value of the property. More... | |
| DurabilityService | withHistoryKind (Kind historyKind) |
| DurabilityService | withMaxInstances (int maxInstances) |
| Copy this policy and override the value of the property. More... | |
| DurabilityService | withMaxSamples (int maxSamples) |
| Copy this policy and override the value of the property. More... | |
| DurabilityService | withMaxSamplesPerInstance (int maxSamplesPerInstance) |
| Copy this policy and override the value of the property. More... | |
| DurabilityService | withServiceCleanupDelay (Duration serviceCleanupDelay) |
| Copy this policy and override the value of the property. More... | |
| DurabilityService | withServiceCleanupDelay (long serviceCleanupDelay, TimeUnit unit) |
| Copy this policy and override the value of the property. More... | |
Protected Attributes | |
| OsplServiceEnvironment | environment |
Definition at line 33 of file DurabilityServiceImpl.java.
| org.opensplice.dds.core.policy.DurabilityServiceImpl.DurabilityServiceImpl | ( | OsplServiceEnvironment | environment | ) |
Definition at line 42 of file DurabilityServiceImpl.java.
| org.opensplice.dds.core.policy.DurabilityServiceImpl.DurabilityServiceImpl | ( | OsplServiceEnvironment | environment, |
| Duration | serviceCleanupDelay, | ||
| Kind | historyKind, | ||
| int | historyDepth, | ||
| int | maxSamples, | ||
| int | maxInstances, | ||
| int | maxSamplesPerInstance | ||
| ) |
Definition at line 51 of file DurabilityServiceImpl.java.
| boolean org.opensplice.dds.core.policy.DurabilityServiceImpl.equals | ( | Object | other | ) |
Definition at line 155 of file DurabilityServiceImpl.java.
|
inherited |
Implements org.omg.dds.core.DDSObject.
Definition at line 40 of file QosPolicyImpl.java.
| int org.opensplice.dds.core.policy.DurabilityServiceImpl.getHistoryDepth | ( | ) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 78 of file DurabilityServiceImpl.java.
| Kind org.opensplice.dds.core.policy.DurabilityServiceImpl.getHistoryKind | ( | ) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 73 of file DurabilityServiceImpl.java.
| int org.opensplice.dds.core.policy.DurabilityServiceImpl.getMaxInstances | ( | ) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 88 of file DurabilityServiceImpl.java.
| int org.opensplice.dds.core.policy.DurabilityServiceImpl.getMaxSamples | ( | ) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 83 of file DurabilityServiceImpl.java.
| int org.opensplice.dds.core.policy.DurabilityServiceImpl.getMaxSamplesPerInstance | ( | ) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 93 of file DurabilityServiceImpl.java.
| Class<? extends QosPolicy> org.opensplice.dds.core.policy.DurabilityServiceImpl.getPolicyClass | ( | ) |
Definition at line 150 of file DurabilityServiceImpl.java.
| Duration org.opensplice.dds.core.policy.DurabilityServiceImpl.getServiceCleanupDelay | ( | ) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 68 of file DurabilityServiceImpl.java.
| int org.opensplice.dds.core.policy.DurabilityServiceImpl.hashCode | ( | ) |
Definition at line 177 of file DurabilityServiceImpl.java.
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withHistoryDepth | ( | int | historyDepth | ) |
Copy this policy and override the value of the property.
| historyDepth | Specifies the number of samples of each instance of data (identified by its key) that is managed by the durability service for the transient or persistent topic data-instances. If history_kind is KEEP_LAST, history_depth must be smaller than or equal to max_samples_per_instance for this QosPolicy to be consistent. |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 122 of file DurabilityServiceImpl.java.
|
inherited |
Copy this policy and override the value of the property.
| historyKind | Specifies the type of history, which may be KEEP_LAST or KEEP_ALL, the durability service must apply for the transient or persistent topic data-instances. |
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withHistoryKind | ( | Kind | historyKind | ) |
Definition at line 115 of file DurabilityServiceImpl.java.
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withMaxInstances | ( | int | maxInstances | ) |
Copy this policy and override the value of the property.
| maxInstances | Specifies the maximum number of instances the durability service - manage for the transient or persistent topic data-instances. |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 136 of file DurabilityServiceImpl.java.
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withMaxSamples | ( | int | maxSamples | ) |
Copy this policy and override the value of the property.
| maxSamples | Specifies the maximum number of data samples for all instances the durability service will manage for the transient or persistent topic data-instances. |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 129 of file DurabilityServiceImpl.java.
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withMaxSamplesPerInstance | ( | int | maxSamplesPerInstance | ) |
Copy this policy and override the value of the property.
| maxSamplesPerInstance | Specifies the maximum number of samples of any single instance the durability service will manage for the transient or persistent topic data-instances. If history_kind is KEEP_LAST, max_samples_per_instance must be greater than or equal to history_depth for this QosPolicy to be consistent. |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 143 of file DurabilityServiceImpl.java.
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withServiceCleanupDelay | ( | Duration | serviceCleanupDelay | ) |
Copy this policy and override the value of the property.
| serviceCleanupDelay | A duration on how long the durability service must wait before it is allowed to remove the information on the transient or persistent topic data-instances as a result of incoming dispose messages. |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 98 of file DurabilityServiceImpl.java.
| DurabilityService org.opensplice.dds.core.policy.DurabilityServiceImpl.withServiceCleanupDelay | ( | long | serviceCleanupDelay, |
| TimeUnit | unit | ||
| ) |
Copy this policy and override the value of the property.
| serviceCleanupDelay | A long on how long the durability service must wait before it is allowed to remove the information on the transient or persistent topic data-instances as a result of incoming dispose messages. |
| unit | The TimeUnit which the serviceCleanupDelay long describes (i.e. TimeUnit.SECONDS or TimeUnit.MILLISECONDS) |
Implements org.omg.dds.core.policy.DurabilityService.
Definition at line 106 of file DurabilityServiceImpl.java.
|
protectedinherited |
Definition at line 29 of file QosPolicyImpl.java.