Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by anil.kalra · Jun 26, 2019 at 01:52 PM · rfa java

RFA Java Level2 message indication of CLEAR_CACHE

As part of Level2 development our application caches and maintains the Level2 book in-memory. We noticed that sometime we get response with message indication of CLEAR_CACHE. Please clarify the following :

- Is CLEAR_CACHE only received by applications on REFRESH response or it can come as part of UPDATE response as well?

- What should we do when we receive CLEAR_CACHE indication,

1) should we clear our cache and consume the incoming message with CLEAR_CACH indication

OR

2) clear our cache and do not process the incoming message which has indication of CLEAR CACHE.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Pimchaya.Wongrukun · Jun 26, 2019 at 11:43 PM

Hello @anil.kalra

According to RFA Java Developers Guide section 6.2.5 Indication Flags. CLEAR_CACHE flag is not in UPDATE response. When the application receives CLEAR_CACHE flag, the previous data should be cleared and the data in the message with CLEAR_CACHE should be cached.

Hope this help.

Comment
anil.kalra

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by mktdata · Jun 26, 2019 at 02:42 PM

if the flag is set , clear cache and start building book again ,

if the flag is not set , overlay the data in refresh message on already received data.

https://docs-developers.refinitiv.com/1561566794785/48796/Docs/WebDocs/wwhelp/wwhimpl/js/html/wwhelp.htm#href=RFA_CPP_RDM_Usage_Guide/RFAC_RDMUsageGuide.1.021.html

In RFA C++ 8.1, Chapter 2 Domain Model Overview : 2.6 General RFA Concepts : 2.6.3 Clearing the Cache on Refreshes

Comment
jirapongse.phuriphanvichai
umer.nalla
anil.kalra

People who like this

3 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by anil.kalra · Jul 01, 2019 at 12:17 PM

@mktdata, @Pimchaya.Wongrukun Thanks for the reply and clarification.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

How to use single session supporting multiple users for remote authentication in SSL RFA Java Subscriber?

How to set App ID(default value is 256) with Java RFA SSL connections? I want to change the app ID value to another integer for identifying the connections.

Under OMM model, does MarketDataItemEvent can be triggered?

Why do nanosecond time fields match OMMTypes.TIME and not OMMTypes.TIME_8

How does virtualized RFA and virtualized ADS behave?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges