public class PartitionContainer extends Object
Constructor and Description |
---|
PartitionContainer(MapService mapService,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
void |
destroyMap(MapContainer mapContainer) |
Collection<ServiceNamespace> |
getAllNamespaces(int replicaIndex) |
Collection<RecordStore> |
getAllRecordStores() |
RecordStore |
getExistingRecordStore(String mapName) |
ConcurrentMap<String,Indexes> |
getIndexes() |
long |
getLastCleanupTime() |
long |
getLastCleanupTimeCopy() |
ConcurrentMap<String,RecordStore> |
getMaps() |
MapService |
getMapService() |
int |
getPartitionId() |
RecordStore |
getRecordStore(String name) |
RecordStore |
getRecordStore(String name,
boolean skipLoadingOnCreate) |
RecordStore |
getRecordStoreForHotRestart(String name) |
boolean |
hasRunningCleanup() |
void |
setHasRunningCleanup(boolean hasRunningCleanup) |
void |
setLastCleanupTime(long lastCleanupTime) |
void |
setLastCleanupTimeCopy(long lastCleanupTimeCopy) |
public PartitionContainer(MapService mapService, int partitionId)
public ConcurrentMap<String,RecordStore> getMaps()
public ConcurrentMap<String,Indexes> getIndexes()
public Collection<RecordStore> getAllRecordStores()
public Collection<ServiceNamespace> getAllNamespaces(int replicaIndex)
public int getPartitionId()
public MapService getMapService()
public RecordStore getRecordStore(String name)
public RecordStore getRecordStore(String name, boolean skipLoadingOnCreate)
public RecordStore getRecordStoreForHotRestart(String name)
@Nullable public RecordStore getExistingRecordStore(String mapName)
public void destroyMap(MapContainer mapContainer)
public boolean hasRunningCleanup()
public void setHasRunningCleanup(boolean hasRunningCleanup)
public long getLastCleanupTime()
public void setLastCleanupTime(long lastCleanupTime)
public long getLastCleanupTimeCopy()
public void setLastCleanupTimeCopy(long lastCleanupTimeCopy)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.