public interface ICacheService extends ManagedService, RemoteService, FragmentedMigrationAwareService, EventPublishingService<Object,CacheEventListener>
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_SUPPORT_NOT_AVAILABLE_ERROR_MESSAGE |
static String |
SERVICE_NAME |
init, reset, shutdown
createDistributedObject, destroyDistributedObject
getAllServiceNamespaces, isKnownServiceNamespace, prepareReplicationOperation
beforeMigration, commitMigration, prepareReplicationOperation, rollbackMigration
dispatchEvent
static final String CACHE_SUPPORT_NOT_AVAILABLE_ERROR_MESSAGE
static final String SERVICE_NAME
ICacheRecordStore getOrCreateRecordStore(String name, int partitionId)
name
and partition ID.name
- the full cache name containing the prefixpartitionId
- the record store partition IDICacheRecordStore getRecordStore(String name, int partitionId)
name
and partition ID.name
- the full cache name containing the prefixpartitionId
- the record store partition IDCachePartitionSegment getSegment(int partitionId)
CacheConfig putCacheConfigIfAbsent(CacheConfig config)
CacheConfig getCacheConfig(String name)
CacheConfig findCacheConfig(String simpleName)
Collection<CacheConfig> getCacheConfigs()
CacheConfig deleteCacheConfig(String name)
CacheStatisticsImpl createCacheStatIfAbsent(String name)
CacheContext getOrCreateCacheContext(String name)
void deleteCacheStat(String name)
void setStatisticsEnabled(CacheConfig cacheConfig, String cacheNameWithPrefix, boolean enabled)
void setManagementEnabled(CacheConfig cacheConfig, String cacheNameWithPrefix, boolean enabled)
void publishEvent(CacheEventContext cacheEventContext)
void publishEvent(String cacheName, CacheEventSet eventSet, int orderKey)
NodeEngine getNodeEngine()
String registerListener(String name, CacheEventListener listener, boolean isLocal)
String registerListener(String name, CacheEventListener listener, EventFilter eventFilter, boolean isLocal)
void deregisterAllListener(String name)
CacheStatistics getStatistics(String name)
CacheOperationProvider getCacheOperationProvider(String nameWithPrefix, InMemoryFormat storageType)
String addInvalidationListener(String name, CacheEventListener listener, boolean localOnly)
boolean isWanReplicationEnabled(String cacheName)
CacheWanEventPublisher getCacheWanEventPublisher()
CacheEventJournal getEventJournal()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.