code: protected void activeStatusChanged(boolean newActiveState) throws PushStateException {
        active = newActiveState;
        log.debugf("changed mode %s", this);
        if (active && singletonConfiguration.pushStateWhenCoordinator())
           doPushState();
     }
docs: Method called when the cache either becomes the coordinator or stops being the coordinator. If it becomes the
  coordinator, it can optionally start the in-memory state transfer to the underlying cache store.