Defining Components to Protect Critical Data

In the SB Authoring perspective of StreamBase Studio, you can use define pairs of Lock and Unlock operators, and an associated Lock Set data construct, to protect critical data. Lock and Unlock operators work in conjunction to provide exclusive access to a critical section of an application. Lock and Unlock operators use key fields and expressions to control access to the critical sections of an application. Lock Sets are used to specify the fields in the key. Pairs of Lock and Unlock operators must have the same Lock Set associated with them. The general process is to:

  1. Drag and drop each component's icons from the Palette View to the EventFlow Editor's canvas.

  2. Click a component's icon on the canvas.

  3. In its Properties view, customize the component according to your requirements by filling in property values and selecting any options.

  4. Save the EventFlow by selecting FileSave from the menu.

For descriptions of these components, see these topics: