Search in sources :

Example 1 with PlatformCacheStore

use of org.apache.ignite.internal.processors.platform.cache.store.PlatformCacheStore in project ignite by apache.

the class CacheOsStoreManager method start0.

/** {@inheritDoc} */
@Override
protected void start0() throws IgniteCheckedException {
    if (configured()) {
        CacheStore store = configuredStore();
        assert store != null;
        assert !(store instanceof GridCacheWriteBehindStore);
        if (store instanceof PlatformCacheStore) {
            PlatformProcessor proc = ctx.platform();
            proc.registerStore((PlatformCacheStore) store, configuredConvertBinary());
        }
    }
    super.start0();
}
Also used : PlatformCacheStore(org.apache.ignite.internal.processors.platform.cache.store.PlatformCacheStore) PlatformProcessor(org.apache.ignite.internal.processors.platform.PlatformProcessor) PlatformCacheStore(org.apache.ignite.internal.processors.platform.cache.store.PlatformCacheStore) CacheStore(org.apache.ignite.cache.store.CacheStore)

Aggregations

CacheStore (org.apache.ignite.cache.store.CacheStore)1 PlatformProcessor (org.apache.ignite.internal.processors.platform.PlatformProcessor)1 PlatformCacheStore (org.apache.ignite.internal.processors.platform.cache.store.PlatformCacheStore)1