Examples of ICacheService


Examples of com.hazelcast.cache.impl.ICacheService

                LOGGER.finest("Distributed object ignored for monitoring: " + distributedObject.getName());
            }
        }

        if (cacheServiceEnabled) {
            final ICacheService cacheService = getCacheService();
            for (CacheConfig cacheConfig : cacheService.getCacheConfigs()) {
                if (cacheConfig.isStatisticsEnabled()) {
                    CacheStatistics statistics = cacheService.getStatistics(cacheConfig.getNameWithPrefix());
                    count = handleCache(memberState, count, cacheConfig, statistics);
                }
            }
        }
    }
View Full Code Here

Examples of com.hazelcast.cache.impl.ICacheService

    public void setCompletionId(Integer completionId) {
    }

    protected CacheOperationProvider getOperationProvider() {
        ICacheService service = getService();
        return service.getCacheOperationProvider(name, inMemoryFormat);
    }
View Full Code Here

Examples of com.hazelcast.cache.impl.ICacheService

        return CacheDataSerializerHook.REMOVE_ALL;
    }

    @Override
    public void beforeRun() throws Exception {
        ICacheService service = getService();
        cache = service.getCacheRecordStore(name, getPartitionId());
    }
View Full Code Here

Examples of com.hazelcast.cache.impl.ICacheService

    }

    @Override
    public ExceptionAction onException(Throwable throwable) {
        if (throwable instanceof CacheNotExistsException) {
            ICacheService cacheService = getService();
            if (cacheService.getCacheConfig(name) != null) {
                getLogger().finest("Retry Cache Operation from node " + getNodeEngine().getLocalMember());
                return ExceptionAction.RETRY_INVOCATION;
            }
        }
        return super.onException(throwable);
View Full Code Here

Examples of com.hazelcast.cache.impl.ICacheService

        this.inMemoryFormat = inMemoryFormat;
    }

    @Override
    protected Operation prepareOperation() {
        ICacheService service = getService();
        CacheOperationProvider cacheOperationProvider = service.getCacheOperationProvider(name, inMemoryFormat);
        return cacheOperationProvider.createKeyIteratorOperation(tableIndex, batch);
    }
View Full Code Here

Examples of com.hazelcast.cache.impl.ICacheService

        this.completionId = completionId;
    }

    @Override
    public void beforeRun() throws Exception {
        ICacheService service = getService();
        cache = service.getCacheRecordStore(name, getPartitionId());
    }
View Full Code Here

Examples of com.hazelcast.cache.impl.ICacheService

    protected AbstractCacheAllPartitionsRequest(String name) {
        this.name = name;
    }

    CacheOperationProvider getOperationProvider() {
        ICacheService service = getService();
        CacheConfig cacheConfig = service.getCacheConfig(name);
        return service.getCacheOperationProvider(name, cacheConfig.getInMemoryFormat());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.