Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Get and Set PropertyAtom Value With User-Specified Time

PropertyAtom can be set for the rule language grammar.

You can get and set PropertyAtom values as follows:

- Specify a time and get the PropertyAtom value stored in the history at that time using one of the standard functions:

         type Instance.PropertyAtom.gettype(PropertyAtom propertyAtomName, \                                   long time)

  where `type` is the type of the PropertyAtom, `propertyAtomName` is the name of the PropertyAtom, and `time` is the time from which you want to retrieve the value.

- Set a value in the PropertyAtom History using one of the standard functions:

         Instance.PropertyAtom.settype(PropertyAtom propertyAtomName, \                                type value, long time)

  where `type` is the type of the PropertyAtom and the type of the new value, `propertyAtomName` is the name of the PropertyAtom, `value` is the value to store in the ring buffer, and `time` is the timestamp for the new entry.

  TIBCO BusinessEvents manages these requests as follows:

  - If the ring buffer has vacancies, TIBCO BusinessEvents inserts the new entry into the correct place based on its timestamp, shifts the older values out one place, and returns True.
  - If the ring buffer is full, and the new value has a more recent timestamp than the oldest value, TIBCO BusinessEvents inserts the new value into the correct place, shifts older values if necessary, drops the oldest value, and returns True.
  - If the ring buffer is full, and the new value has a timestamp that is older than the oldest value in the ring buffer, TIBCO BusinessEvents does not insert the new value into the ring buffer, and it returns False.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.