Skip to content

Commit

Permalink
ISPN-2254 Starting a stopped cache fails to invoke notifyCacheStarting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne authored and Mircea Markus committed Sep 3, 2012
1 parent d0c40c1 commit 6ffef47
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -171,6 +171,11 @@ public void start() {

// Cache starting notification happens earlier in the call stack trace

// But do call cache starting if terminated, this is needed for user invocations of #start()
if (state == ComponentStatus.TERMINATED) {
notifyCacheStarting(getComponent(Configuration.class));
}

super.start();

if (needToNotify && state == ComponentStatus.RUNNING) {
Expand Down

0 comments on commit 6ffef47

Please sign in to comment.