Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.cache
Interface IQSYSCacheManager

All Known Implementing Classes:
CacheManager

public interface IQSYSCacheManager

Interface for QSYS caching.


Field Summary
static String copyright
           
 
Method Summary
 String getConnectionName()
          Returns the hostname this cache instance is being used for.
 boolean isCachingDisabled()
          Check if caching has been disabled.
 boolean isCheckCacheFirst()
          Check if the communciations layer should check the local cache first for the requested information before retreiving it from the remote host.
 void setCachingDisabled(boolean state)
          Disable caching for this cache manager.
 void setCheckCacheFirst(boolean checkCacheFirst)
          Set whether or not the communications layer should check the local cache first for the requested informatoin before retreiving it from the remote host.
 

Field Detail

copyright

static final String copyright
See Also:
Constant Field Values
Method Detail

getConnectionName

String getConnectionName()
Returns the hostname this cache instance is being used for.


isCachingDisabled

boolean isCachingDisabled()
Check if caching has been disabled. If caching is disabled then the cache is not updated when new information is retrieved from the iSeries, but may be used when working in offline mode.


isCheckCacheFirst

boolean isCheckCacheFirst()
Check if the communciations layer should check the local cache first for the requested information before retreiving it from the remote host.


setCheckCacheFirst

void setCheckCacheFirst(boolean checkCacheFirst)
Set whether or not the communications layer should check the local cache first for the requested informatoin before retreiving it from the remote host.

Since:
v5.0 sp1

setCachingDisabled

void setCachingDisabled(boolean state)
Disable caching for this cache manager. This was initially added to allow WebFacing to disable caching during WebFacing conversion. The user can configure enabling / disabling the cache via the caching preferences page so you should only override the user's preference in special circumstances. The caller should restore the caching state after the override is no longer required.. For example WebFacing overrides this only during conversion because of the large amounts of data retrieved from the remote system that will never be used from the cache.

Since:
WDSc 5.1

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.