public final class CachePartitionSegment extends Object
CachePartitionSegment is a data access structure responsible for all cache data of a partition. It's responsible
for creating and/or returning the actual cache data object by
name ICacheRecordStore
CacheService
manages all CachePartitionSegments.CacheService
Modifier and Type | Method and Description |
---|---|
Iterator<ICacheRecordStore> |
cacheIterator() |
void |
clear() |
void |
deleteCache(String name) |
void |
destroy() |
ICacheRecordStore |
getCache(String name) |
Collection<CacheConfig> |
getCacheConfigs() |
ICacheRecordStore |
getOrCreateCache(String name) |
int |
getPartitionId() |
boolean |
hasAnyCache() |
boolean |
hasCache(String name) |
void |
init() |
public Iterator<ICacheRecordStore> cacheIterator()
public Collection<CacheConfig> getCacheConfigs()
public int getPartitionId()
public ICacheRecordStore getOrCreateCache(String name)
public ICacheRecordStore getCache(String name)
public void deleteCache(String name)
public void init()
public void clear()
public void destroy()
public boolean hasAnyCache()
public boolean hasCache(String name)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.