public class DefaultRepositoryMainlines extends RepositoryMainlines
RepositoryMainlines.RepositoryMainlines.Accreditor, RepositoryMainlines.ConcurrentCertificationException| Constructor and Description |
|---|
DefaultRepositoryMainlines()
Constructs a default instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
doCertify(java.util.Set<java.lang.String> repositoryIdSet,
RepositoryMainlines.Accreditor accreditor,
java.lang.String shortNote,
java.lang.Integer numberOfRetries,
java.lang.Long sleepMillisBetweenRetries)
Certifies a set of repositories after locking the repository mainlines for
certification.
|
protected java.lang.String |
doCertifyImmediately(java.util.Set<java.lang.String> repositoryIdSet,
RepositoryMainlines.Accreditor accreditor,
java.lang.String shortNote)
Certifies a set of repositories without first locking the repository
mainlines for certification.
|
certify, certify, certifyImmediately, certifyImmediatelypublic DefaultRepositoryMainlines()
protected java.lang.String doCertifyImmediately(java.util.Set<java.lang.String> repositoryIdSet,
RepositoryMainlines.Accreditor accreditor,
java.lang.String shortNote)
RepositoryMainlinesdoCertifyImmediately in class RepositoryMainlinesrepositoryIdSet - the IDs of the repositories to be certifiedaccreditor - the accreditor that presents the certified baselinesshortNote - a short noteprotected java.lang.String doCertify(java.util.Set<java.lang.String> repositoryIdSet,
RepositoryMainlines.Accreditor accreditor,
java.lang.String shortNote,
java.lang.Integer numberOfRetries,
java.lang.Long sleepMillisBetweenRetries)
throws RepositoryMainlines.ConcurrentCertificationException
RepositoryMainlinesdoCertify in class RepositoryMainlinesrepositoryIdSet - the IDs of the repositories to be certifiedaccreditor - the accreditor that presents the certified baselinesshortNote - a short notenumberOfRetries - the number of retries after the first try indicates
that any of the repositories is being locked by
another party; null if the number of
retries is zerosleepMillisBetweenRetries - the wait time in milliseconds between
retries. The wait time is set to 100
milliseconds if this argument is null or
less than 100.RepositoryMainlines.ConcurrentCertificationException - if the the number of retries is
reached but any of the repositories are still being locked
by other parties