| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2012 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.server; |
| | | |
| | |
| | | if (debugEnabled()) |
| | | { |
| | | TRACER.debugInfo("Monitoring publisher starting for dn " |
| | | + replicationServerDomain.getBaseDn().toString()); |
| | | + replicationServerDomain.getBaseDn()); |
| | | } |
| | | |
| | | try |
| | |
| | | catch (InterruptedException e) |
| | | { |
| | | TRACER.debugInfo("Monitoring publisher for dn " |
| | | + replicationServerDomain.getBaseDn().toString() |
| | | + replicationServerDomain.getBaseDn() |
| | | + " in RS " |
| | | + replicationServerDomain.getReplicationServer() |
| | | .getServerId() |
| | |
| | | |
| | | done = true; |
| | | TRACER.debugInfo("Monitoring publisher for dn " |
| | | + replicationServerDomain.getBaseDn().toString() |
| | | + replicationServerDomain.getBaseDn() |
| | | + " is terminated." |
| | | + " This is in RS " |
| | | + replicationServerDomain.getReplicationServer() |
| | |
| | | if (debugEnabled()) |
| | | { |
| | | TRACER.debugInfo("Shutting down monitoring publisher for dn " + |
| | | replicationServerDomain.getBaseDn().toString() + " in RS " + |
| | | replicationServerDomain.getBaseDn() + " in RS " + |
| | | replicationServerDomain.getReplicationServer().getServerId()); |
| | | } |
| | | } |
| | |
| | | if (n >= FACTOR) |
| | | { |
| | | TRACER.debugInfo("Interrupting monitoring publisher for dn " + |
| | | replicationServerDomain.getBaseDn().toString() + " in RS " + |
| | | replicationServerDomain.getBaseDn() + " in RS " + |
| | | replicationServerDomain.getReplicationServer().getServerId()); |
| | | this.interrupt(); |
| | | } |
| | |
| | | if (debugEnabled()) |
| | | { |
| | | TRACER.debugInfo("Monitoring publisher for dn " + |
| | | replicationServerDomain.getBaseDn().toString() + |
| | | replicationServerDomain.getBaseDn() + |
| | | " changing period value to " + period); |
| | | } |
| | | |