Home » IBM » C9530-001 » What is one method to keep the cache clean in IBM Integration Bus?
What is one method to keep the cache clean in IBM Integration Bus?
A. Define a timeout parameter in the Policy file.
B. Use the MbGlobalMapSeccionPolicy class to expire the Global Cache variable.
C. Set up an external process to check the variables that have not been modified in a speculated amount of time and remove them.
D. Use remove() on the MbGlobalMap class. In case of a catastrophic crash of the node, the cache will detect this and remove the variable implicitly.
Correct Answer: A
Explanation/Reference:
Explanation:
When you get an MbGlobalMap object, you can specify how long the data remains in the global cache before it is removed automatically. This time is known as the time to live and is counted from when that map entry is last updated.
By default, the time to live is set to zero so that the data is never removed. To set a specific time to live, create a session policy, which you can reference from the MbGlobalMap object.
References: https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/bc23801_.htm
Download Printable PDF. VALID exam to help you PASS.
|
|