public class PartitionContainer extends Object
Constructor and Description |
---|
PartitionContainer(MapService mapService,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
void |
clear(boolean onShutdown) |
void |
destroyMap(String name) |
RecordStore |
getExistingRecordStore(String mapName) |
long |
getLastCleanupTime() |
long |
getLastCleanupTimeCopy() |
ConcurrentMap<String,RecordStore> |
getMaps() |
MapService |
getMapService() |
int |
getPartitionId() |
RecordStore |
getRecordStore(String name) |
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 int getPartitionId()
public MapService getMapService()
public RecordStore getRecordStore(String name)
public RecordStore getRecordStoreForHotRestart(String name)
public RecordStore getExistingRecordStore(String mapName)
public void destroyMap(String name)
public void clear(boolean onShutdown)
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 © 2016 Hazelcast, Inc.. All Rights Reserved.