Spec question: retention handling II

3 views
Skip to first unread message

Mattt

unread,
Jul 24, 2008, 8:54:50 AM7/24/08
to XAM Developers Group
Next:

Section 9 of the Arch Spec specifies 'positiv integer values or -1'
for retention values are allowed. Zero not being mentioned.
The C-API Spec section 5.3.8.3, however, uses "inDuration is a xam_int
containing the amount of time (measured in minutes from the time of
commit) to retain the XSet. Zero indicates no retention, while a
negative one (-1) indicates infinite retention."

Any comments? Thanks
Matthias
--
OpenText

Mike H

unread,
Jul 29, 2008, 11:00:13 AM7/29/08
to XAM Developers Group
Hello Matthias -

As I understand your use case, you have content that you specifically
do not want to have retained whether by default management policy or
other automatic XSystem behavior. Yet the spec does not allow you to
request a zero retention period for an XSet.

This seems to be a reasonable and common "real world" use case; does
anyone disagree with this use of the XAM retention features?

Regards to all,
Mike Horgan

Scott

unread,
Jul 30, 2008, 11:25:40 AM7/30/08
to XAM Developers Group
Zero is intended to be a legal value. That is why the semantics are
defined in the C API.
> > OpenText- Hide quoted text -
>
> - Show quoted text -

Mike H

unread,
Jul 30, 2008, 12:47:59 PM7/30/08
to XAM Developers Group
Thanks Scott.

So, this text in the description of .xset.retention.<retention
id>.duration is defective, right? Arch 9.2.1:

"This value shall be specified as a positive number of milliseconds,
or as “forever,” which is represented by a value of -1."

Perhaps this should be replaced by:

"This value shall be specified as a non-negative number of
milliseconds, or as “forever,” which is represented by a value of -1."

- Mike
Reply all
Reply to author
Forward
0 new messages