Forum Discussion

Wil_Schultz_101's avatar
Wil_Schultz_101
Icon for Nimbostratus rankNimbostratus
Jan 30, 2007

Is it possible to use iControl to reset cached objects?

The bigpipe command I would like to either issue or emulate would be:

 

 

b profile http all ramcache exact uri /myuri/ host www.mydomain.com reset

 

 

Is this possible?

2 Replies

  • Check out the LocalLB::RAMCacheInformation interface. Specifically the evict_ramcache_entry() method.

    struct RAMCacheKey {
      String profile_name,
      String host_name,
      String uri,
      long maximum_responses
    };
    void LocalLB::RAMCacheInformation::evict_ramcache_entry(
        in RAMCacheKey[] keys
    );

    The maximum_responses member of the RAMCacheKey structure is ignored for the evict_ramcache_entry() command so just leave it at 0.

    BTW, This has been the product since v9.0.5.

    -Joe