public class TieredStorageManagerImpl extends Object implements TieredStorageManager
Constructor and Description |
---|
TieredStorageManagerImpl(TieredStorageConfig storageConfig,
InternalRDBMSManager internalDiskStorage,
String fullSpaceName) |
Modifier and Type | Method and Description |
---|---|
void |
addTableConfig(TieredStorageTableConfig config) |
void |
close() |
CachePredicate |
getCacheRule(String typeName) |
TieredState |
getEntryTieredState(IEntryHolder entryHolder) |
InternalRDBMSManager |
getInternalStorage() |
TieredStorageTableConfig |
getTableConfig(String typeName) |
TemplateMatchTier |
guessTemplateTier(ITemplateHolder templateHolder) |
boolean |
hasCacheRule(String typeName) |
void |
initialize(SpaceEngine engine) |
void |
initTieredStorageMetrics(SpaceImpl _spaceImpl,
MetricManager metricManager) |
boolean |
isTransient(String typeName) |
boolean |
RDBMSContainsData() |
void |
removeCacheRule(String typeName) |
void |
removeTableConfig(String typeName) |
void |
setCacheRule(String typeName,
CachePredicate newRule) |
public TieredStorageManagerImpl(TieredStorageConfig storageConfig, InternalRDBMSManager internalDiskStorage, String fullSpaceName)
public boolean RDBMSContainsData()
RDBMSContainsData
in interface TieredStorageManager
public void initialize(SpaceEngine engine) throws SAException, RemoteException
initialize
in interface TieredStorageManager
SAException
RemoteException
public boolean hasCacheRule(String typeName)
hasCacheRule
in interface TieredStorageManager
public boolean isTransient(String typeName)
isTransient
in interface TieredStorageManager
public CachePredicate getCacheRule(String typeName)
getCacheRule
in interface TieredStorageManager
public TieredStorageTableConfig getTableConfig(String typeName)
getTableConfig
in interface TieredStorageManager
public void addTableConfig(TieredStorageTableConfig config)
addTableConfig
in interface TieredStorageManager
public void removeTableConfig(String typeName)
removeTableConfig
in interface TieredStorageManager
public void setCacheRule(String typeName, CachePredicate newRule)
setCacheRule
in interface TieredStorageManager
public void removeCacheRule(String typeName)
removeCacheRule
in interface TieredStorageManager
public InternalRDBMSManager getInternalStorage()
getInternalStorage
in interface TieredStorageManager
public TieredState getEntryTieredState(IEntryHolder entryHolder)
getEntryTieredState
in interface TieredStorageManager
public void initTieredStorageMetrics(SpaceImpl _spaceImpl, MetricManager metricManager)
initTieredStorageMetrics
in interface TieredStorageManager
public TemplateMatchTier guessTemplateTier(ITemplateHolder templateHolder)
guessTemplateTier
in interface TieredStorageManager
public void close()
close
in interface TieredStorageManager
Copyright © GigaSpaces.