| | |
| | | package org.opends.server.replication.plugin; |
| | | |
| | | import java.net.InetAddress; |
| | | import java.util.Collections; |
| | | import java.util.SortedSet; |
| | | import java.util.TreeSet; |
| | | |
| | |
| | | this.policy = policy; |
| | | } |
| | | |
| | | /** |
| | | * Excludes attributes from replication, as {@code ds-cfg-fractional-exclude} does. |
| | | * |
| | | * @param values the values of the setting, each of the form {@code class:attr1,attr2} |
| | | * or {@code *:attr1,attr2} |
| | | */ |
| | | public void addFractionalExclude(String... values) |
| | | { |
| | | Collections.addAll(fractionalExcludes, values); |
| | | } |
| | | |
| | | @Override |
| | | public int getAssuredSdLevel() |
| | | { |