Java 类com.hazelcast.core.MapLoaderLifecycleSupport 实例源码

项目:hazelcast-archive    文件:MapStoreWrapper.java   
void checkInit() {
    if (shouldInitialize && !initialized) {
        synchronized (initLock) {
            if (!initialized) {
                ((MapLoaderLifecycleSupport) impl).init(hazelcastInstance,
                        properties, mapName);
                initialized = true;
            }
        }
    }
}
项目:hazelcast-archive    文件:MapStoreWrapper.java   
public void destroy() {
    if (shouldInitialize && initialized) {
        synchronized (initLock) {
            if (initialized) {
                ((MapLoaderLifecycleSupport) impl).destroy();
                initialized = false;
            }
        }
    }
}
项目:health-and-care-developer-network    文件:MapStoreWrapper.java   
void checkInit() {
    if (shouldInitialize && !initialized) {
        synchronized (initLock) {
            if (!initialized) {
                ((MapLoaderLifecycleSupport) impl).init(hazelcastInstance,
                        properties, mapName);
                initialized = true;
            }
        }
    }
}
项目:health-and-care-developer-network    文件:MapStoreWrapper.java   
public void destroy() {
    if (shouldInitialize && initialized) {
        synchronized (initLock) {
            if (initialized) {
                ((MapLoaderLifecycleSupport) impl).destroy();
                initialized = false;
            }
        }
    }
}