com.hazelcast.cache.impl
Class CachePartitionSegment

java.lang.Object
  extended by com.hazelcast.cache.impl.CachePartitionSegment

public final class CachePartitionSegment
extends Object

Cache Partition Segment

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.

See Also:
CacheService

Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cacheIterator

public Iterator<ICacheRecordStore> cacheIterator()

getCacheConfigs

public Collection<CacheConfig> getCacheConfigs()

getPartitionId

public int getPartitionId()

getOrCreateCache

public ICacheRecordStore getOrCreateCache(String name)

getCache

public ICacheRecordStore getCache(String name)

deleteCache

public void deleteCache(String name)

clear

public void clear()

destroy

public void destroy()

hasAnyCache

public boolean hasAnyCache()

hasCache

public boolean hasCache(String name)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.