ISPN-4559 Replace fails with cache loader

https://issues.jboss.org/browse/ISPN-4559
https://issues.jboss.org/browse/ISPN-4649
agree with you and I'm going further: we should clean the Flag enum (or split in internal and external flags)