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
SAExceptionpublic long getDiskSize()
throws SAException,
IOException
SAExceptionIOExceptionpublic long getFreeSpaceSize()
throws SAException,
IOException
SAExceptionIOExceptionpublic void createTable(ITypeDesc typeDesc) throws SAException
SAExceptionpublic void dropTable(ITypeDesc typeDesc) throws SAException
SAExceptionpublic void insertEntry(Context context, IEntryHolder entryHolder, CacheManager.InitialLoadOrigin initialLoadOrigin) throws SAException
entryHolder - entry to insertinitialLoadOrigin - SAExceptionpublic void updateEntry(Context context, IEntryHolder updatedEntry) throws SAException
updatedEntry - new content, same UID and classSAExceptionpublic boolean removeEntry(Context context, IEntryHolder entryHolder) throws SAException
entryHolder - entry to removeSAExceptionpublic void updateRamEntriesCounterAfterTierChange(String type, boolean isUpdatedEntryInHotTier, boolean isOriginEntryInHotTier)
public IEntryHolder getEntryById(Context context, String typeName, Object id, ITemplateHolder templateHolder) throws SAException
SAExceptionpublic IEntryHolder getEntryByUID(Context context, String typeName, String uid, ITemplateHolder templateHolder) throws SAException
SAExceptionpublic ISAdapterIterator<IEntryHolder> makeEntriesIter(Context context, String typeName, ITemplateHolder templateHolder) throws SAException
SAExceptionpublic boolean isKnownType(String name)
public void shutDown()
public void deleteData()
throws SAException
SAExceptionpublic void persistType(ITypeDesc typeDesc) throws SAException
SAExceptionpublic void unpersistType(ITypeDesc typeDesc) throws SAException
SAExceptionpublic void initialLoad(Context context, SpaceEngine engine, InitialLoadInfo initialLoadInfo) throws SAException
SAExceptionpublic SpaceTypeManager getTypeManager()
Copyright © GigaSpaces.