Hi Frank, These are separate calls, and on a successful ingest, both should be invoked. But neither implementation is intended to be aware of the other. PIDGenerator.neverGeneratePID() is used to prevent the pid generator from *ever* generating that PID, regardless of whether the object is in the repository. And DORegistry.register() is used to keep track of the fact that the object currently exists in the repository.
- Chris On Wed, Jul 6, 2011 at 4:48 AM, Asseg, Frank <[email protected]> wrote: > Hola Guys, > > i wrote a simple and naive HBasePidGenerator/HBaseRegistry, while > playing around with Aaron's PoC for the HighLevelStorage feature and the > following question arose: > > It's possible to use PIDGenerator.neverGeneratePID() to reserve a PID. > Does this apply to the DORegistry.register() method as well? i.e. do i > have to check that the DigitalObject's PID passed to the register() > method is not part of the neverGeneratePid collection,? or did i > understand correctly that these PID reservation only applies to > PidGenerator.generatePid()? > > Thanks! > > -- > Frank Asseg > ePublishing & eScience > Development & Applied Research > Phone +49 7247-808-515 > Fax +49 7247 808-133 > [email protected] > > > FIZ Karlsruhe – Leibniz Institute for Information Infrastructure > Hermann-von-Helmholtz-Platz 1 > 76344 Eggenstein-Leopoldshafen, Germany > > http://www.fiz-karlsruhe.de/ > > > ------------------------------------------------------- > > Fachinformationszentrum Karlsruhe, Gesellschaft für > wissenschaftlich-technische Information mbH. > Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB > 101892. > Geschäftsführerin: Sabine Brünger-Weilandt. > Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner. > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Fedora-commons-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
