public void checkIfLoaded() {
Throwable throwable = null;
final RecordStoreLoader recordStoreLoader = this.recordStoreLoader;
final Throwable exception = recordStoreLoader.getExceptionOrNull();
if (exception == null && !recordStoreLoader.isLoaded()) {
throwable = new RetryableHazelcastException("Map "
+ getName() + " is still loading data from external store");
} else if (exception != null) {
throwable = exception;
}
if (throwable != null) {