[Glass] Confused about read only conflicts and RcIdentityBag

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Thu Aug 6 11:43:37 PDT 2015


I have some collections that will be likely accessed and read from a few
gems, quite possible at the same time. Since these collections will be
written quite infrequently (and when done probably at a cron job at night),
I thought I needed no RC class. However, I am reading the ProgGuide about
RcIdenityBag and says:

*However, no conflict occurs on instances of RcIdentityBag when any of
these conditions exists: *

*Any number of users read objects in the bag at the same time. *

So that means that if I do not use a RcIdentityBag (say I am using an
OrderedCollection or SortedCollection), then multiple users cannot read the
collection at the same time? mmmmmm sounds weird.

If this is not the case, then I think the guide is confusing.

Thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150806/0352c7bb/attachment.html>

More information about the Glass mailing list