Manual Evictions in 2nd Level Cache

Thread is closed for posting
6 posts, 1 answers
  1. Mads
    Mads avatar
    3 posts
    Member since:
    Oct 2012

    Posted 07 Nov 2008 Link to this post

    The documentation states that manual eviction of instances from the 2nd level cache is planned for a future release.
    Can you give an indication whether this will be included in the next release and when that will be?

    Thanks.
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 10 Nov 2008 Link to this post

    Hello Mads,

    I am not sure at the moment. But it is only a missing API. We can give you the internal commands if you really need them.

    Best wishes,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Mads
    Mads avatar
    3 posts
    Member since:
    Oct 2012

    Posted 10 Nov 2008 Link to this post

    Hello Jan,

    The internal commands will be helpful as we are doing some SQL bulk imports and still like to utilize the L2 Cache for a specific set of tables.

    Thanks.
  4. Answer
    Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 15 Nov 2008 Link to this post

    Hi Mads,

    The code is not really what I would like to see in the forum, I sent it to you directly.

    For all others, I will try to add the api to the next release.

    All the best,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Steve
    Steve avatar
    1888 posts
    Member since:
    Dec 2008

    Posted 10 May 2010 Link to this post

    Is this in yet anywhere by any chance?
  6. IT-Als
    IT-Als avatar
    381 posts
    Member since:
    Sep 2008

    Posted 11 May 2010 Link to this post

    Hi Steve,

    Yes it is. I have already used it.

    the scope.Database.Cache property gives you access to the API with it's evict methods (several overloads).

    Regards

    Henrik
Back to Top