Class ReplicationDomain.ImportExportContext

  • Enclosing class:
    ReplicationDomain

    protected static final class ReplicationDomain.ImportExportContext
    extends Object
    This class contains the context related to an import or export launched on the domain.
    • Method Detail

      • getExportTarget

        public int getExportTarget()
        Gets the server id of the exporting server.
        Returns:
        the server id of the exporting server.
      • getImportSource

        public int getImportSource()
        Gets the server id of the importing server.
        Returns:
        the server id of the importing server.
      • getException

        public DirectoryException getException()
        Get the exception that occurred during the import/export.
        Returns:
        the exception that occurred during the import/export.
      • setException

        public void setException​(DirectoryException exception)
        Set the exception that occurred during the import/export.
        Parameters:
        exception - the exception that occurred during the import/export.
      • setExceptionIfNoneSet

        public void setExceptionIfNoneSet​(DirectoryException exception)
        Only sets the exception that occurred during the import/export if none was already set on this object.
        Parameters:
        exception - the exception that occurred during the import/export.
      • getSlowestServer

        public int getSlowestServer()
        Returns the serverId of the server that acknowledged the smallest EntryMsg id.
        Returns:
        serverId of the server with latest acknowledge. 0 when no ack has been received yet.