1 Reply Latest reply on May 5, 2009 5:46 AM by Manik Surtani

    STARTING state

    Krzysztof Sobolewski Newbie

      I have two cases where I want to do something immediately before/during/immediately after cache startup:

      1) Visit all nodes
      2) Evict all nodes (for whatever reason I want to clear the transient state)

      I tried to do this in a listener method marked @CacheStarted, but the cache doesn't allow me to do anything, because the cache state by this time is STARTING, not STARTED. What should I do? Is it safe to override this check via option overrides? :)