public class InternalRDBMSManager extends Object
Constructor and Description |
---|
InternalRDBMSManager(InternalRDBMS internalRDBMS) |
Modifier and Type | Method and Description |
---|---|
void |
createTable(ITypeDesc typeDesc) |
void |
deleteData() |
long |
getDiskSize() |
IEntryHolder |
getEntryById(Context context,
String typeName,
Object id,
ITemplateHolder templateHolder) |
IEntryHolder |
getEntryByUID(Context context,
String typeName,
String uid,
ITemplateHolder templateHolder) |
long |
getFreeSpaceSize() |
TypesMetaData |
getMetaData() |
LongCounter |
getReadDisk() |
SpaceTypeManager |
getTypeManager() |
LongCounter |
getWriteDisk() |
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 |
updateEntry(Context context,
IEntryHolder updatedEntry)
updates an entry.
|
void |
updateRamCounterAfterUpdate(String type,
boolean isUpdatedEntryHot,
boolean isOriginEntryHot) |
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 TypesMetaData getMetaData()
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 updateRamCounterAfterUpdate(String type, boolean isUpdatedEntryHot, boolean isOriginEntryHot)
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 LongCounter getReadDisk()
public LongCounter getWriteDisk()
public void deleteData() throws SAException
SAException
public void persistType(ITypeDesc typeDesc) throws SAException
SAException
public void initialLoad(Context context, SpaceEngine engine, InitialLoadInfo initialLoadInfo) throws SAException
SAException
public SpaceTypeManager getTypeManager()
Copyright © GigaSpaces.