public class InternalRDBMSManager extends Object
Constructor and Description |
---|
InternalRDBMSManager(InternalRDBMS internalRDBMS) |
Modifier and Type | Method and Description |
---|---|
void |
createTable(ITypeDesc typeDesc) |
void |
deleteData() |
void |
dropTable(ITypeDesc typeDesc) |
long |
getDiskSize() |
IEntryHolder |
getEntryById(Context context,
String typeName,
Object id,
ITemplateHolder templateHolder) |
IEntryHolder |
getEntryByUID(Context context,
String typeName,
String uid,
ITemplateHolder templateHolder) |
long |
getFreeSpaceSize() |
SpaceTypeManager |
getTypeManager() |
boolean |
initialize(String spaceName,
String fullMemberName,
SpaceTypeManager typeManager,
boolean isBackup) |
void |
initialLoad(Context context,
SpaceEngine engine,
InitialLoadInfo initialLoadInfo) |
void |
insertEntry(Context context,
IEntryHolder entryHolder,
CacheManager.InitialLoadOrigin initialLoadOrigin)
Inserts a new entry to the internalDiskStorage
|
boolean |
isKnownType(String name) |
ISAdapterIterator<IEntryHolder> |
makeEntriesIter(Context context,
String typeName,
ITemplateHolder templateHolder) |
void |
persistType(ITypeDesc typeDesc) |
boolean |
removeEntry(Context context,
IEntryHolder entryHolder)
Removes an entry from the internalDiskStorage
|
void |
shutDown() |
void |
unpersistType(ITypeDesc typeDesc) |
void |
updateEntry(Context context,
IEntryHolder updatedEntry)
updates an entry.
|
void |
updateRamEntriesCounterAfterTierChange(String type,
boolean isUpdatedEntryInHotTier,
boolean isOriginEntryInHotTier) |
public InternalRDBMSManager(InternalRDBMS internalRDBMS)
public boolean initialize(String spaceName, String fullMemberName, SpaceTypeManager typeManager, boolean isBackup) throws SAException
SAException
public long getDiskSize() throws SAException, IOException
SAException
IOException
public long getFreeSpaceSize() throws SAException, IOException
SAException
IOException
public void createTable(ITypeDesc typeDesc) throws SAException
SAException
public void dropTable(ITypeDesc typeDesc) throws SAException
SAException
public void insertEntry(Context context, IEntryHolder entryHolder, CacheManager.InitialLoadOrigin initialLoadOrigin) throws SAException
entryHolder
- entry to insertinitialLoadOrigin
- SAException
public void updateEntry(Context context, IEntryHolder updatedEntry) throws SAException
updatedEntry
- new content, same UID and classSAException
public boolean removeEntry(Context context, IEntryHolder entryHolder) throws SAException
entryHolder
- entry to removeSAException
public void updateRamEntriesCounterAfterTierChange(String type, boolean isUpdatedEntryInHotTier, boolean isOriginEntryInHotTier)
public IEntryHolder getEntryById(Context context, String typeName, Object id, ITemplateHolder templateHolder) throws SAException
SAException
public IEntryHolder getEntryByUID(Context context, String typeName, String uid, ITemplateHolder templateHolder) throws SAException
SAException
public ISAdapterIterator<IEntryHolder> makeEntriesIter(Context context, String typeName, ITemplateHolder templateHolder) throws SAException
SAException
public boolean isKnownType(String name)
public void shutDown()
public void deleteData() throws SAException
SAException
public void persistType(ITypeDesc typeDesc) throws SAException
SAException
public void unpersistType(ITypeDesc typeDesc) throws SAException
SAException
public void initialLoad(Context context, SpaceEngine engine, InitialLoadInfo initialLoadInfo) throws SAException
SAException
public SpaceTypeManager getTypeManager()
Copyright © GigaSpaces.