| File was renamed from opends/src/server/org/opends/server/replication/server/ReplicationCache.java |
| | |
| | | * received to the disk and for trimming them |
| | | * Decision to trim can be based on disk space or age of the message |
| | | */ |
| | | public class ReplicationCache |
| | | public class ReplicationServerDomain |
| | | { |
| | | private Object flowControlLock = new Object(); |
| | | private DN baseDn = null; |
| | |
| | | private static final DebugTracer TRACER = getTracer(); |
| | | |
| | | /** |
| | | * Creates a new ReplicationCache associated to the DN baseDn. |
| | | * Creates a new ReplicationServerDomain associated to the DN baseDn. |
| | | * |
| | | * @param baseDn The baseDn associated to the ReplicationCache. |
| | | * @param baseDn The baseDn associated to the ReplicationServerDomain. |
| | | * @param replicationServer the ReplicationServer that created this |
| | | * replicationServer cache. |
| | | */ |
| | | public ReplicationCache(DN baseDn, ReplicationServer replicationServer) |
| | | public ReplicationServerDomain(DN baseDn, ReplicationServer replicationServer) |
| | | { |
| | | this.baseDn = baseDn; |
| | | this.replicationServer = replicationServer; |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns the change count for that ReplicationCache. |
| | | * Returns the change count for that ReplicationServerDomain. |
| | | * |
| | | * @return the change count. |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * Shutdown this ReplicationCache. |
| | | * Shutdown this ReplicationServerDomain. |
| | | */ |
| | | public void shutdown() |
| | | { |
| | |
| | | @Override |
| | | public String toString() |
| | | { |
| | | return "ReplicationCache " + baseDn; |
| | | return "ReplicationServerDomain " + baseDn; |
| | | } |
| | | |
| | | /** |