What is the meaning of the property be.engine.metric.lock.enable=true?

What is the meaning of the property be.engine.metric.lock.enable=true?

book

Article ID: KB0085122

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
What is the meaning of the property ‘be.engine.metric.lock.enable=true’?

Environment:
===========
TIBCO BusinessEvents 4.x
All Operating Systems

Definition:
========
The flag ‘be.engine.metric.lock.enable=true’ is used to enable automatic locking of metric at the instance level. The key used is generated automatically based on the metric name and the instance ‘group-by’ field values. The lock granularity is at the instance level.  It can be turned off if you know there will not be simultaneous updates to the same metric instance at the same time or if you need to update the same instance multiple times within the same RTC cycle. For the later case, you need to do explicit locking yourself.  In this case, you can choose whatever key to use and whatever lock granularity.

Issue/Introduction

What is the meaning of the property be.engine.metric.lock.enable=true?