Usage of coherence API to load concepts (ObjectManagement Cache Only) from Cache

Usage of coherence API to load concepts (ObjectManagement Cache Only) from Cache

book

Article ID: KB0088379

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Usage of coherence API to load concepts (ObjectManagement Cache Only) from Cache

Environment:
===========
  o BusinessEvents 3.0 and later


Symptoms:
=========
n.a.

Cause:
======
n.a.

Resolution:
========
Use the following coherence functions to load concept(s) which matches the filter criteria:

// example, concept /Person, property="name", property value="Smith"
String cacheName = Coherence.C_CacheName("/Person");
Object filter = Coherence.Filters.C_Equals(
  Coherence.Extractors.C_StringAtomGetter("name"),
  Coherence.Constants.C_StringConstant("Smith"));
Concept[] results = Coherence.Query.C_QueryConcepts(cacheName, filter, true);

Issue/Introduction

Usage of coherence API to load concepts (ObjectManagement Cache Only) from Cache