Runtime tools : Service components : Remote cache service : How to use the remote cache : Access data without using locks
  
Access data without using locks
You can access data that is constant and is rarely changed (for example a product description) without using locks, as it is extremely unlikely that two operations will attempt to update the data at the same time.
In the following example code, the data fundList is read from the remote cache into the local data element icFund and used in the operation:
RCache rc = RCache.getInstance();
IndexedCollection icFund = (IndexedCollection)DataElement.readObject("fundList");
icFund = rc.pullData(icFund, "fundList");
if (icFund != null)
{
// already exist
...
} else {
// not exist
...
}
See also:
Go up to
How to use the remote cache