public class SudoDataSource extends MutableDataSource
MemoryHandler.Cost
ATTRIBUTE_MODE, ENV_DEFAULT_VALIDATE_PARALLEL, ENV_VALIDATE_PARALLEL_SIZE, MODE_BULK_LOAD, NEXT_NUMBER_ROWID, NEXT_NUMBER_TRANSACTION, sudoLogin
Constructor and Description |
---|
SudoDataSource(Login login) |
Modifier and Type | Method and Description |
---|---|
SudoDataSource |
addToWatcher(SanityCheckDataSource scds) |
Login |
getRealLogin()
The real login
THREAD SAFE: Multi-Threaded- We will allow Multi-Thread access to this method as it doesn't cause any real harm.
|
void |
iAddToUniverse(DBObject obj)
When a DBObject is modified in any way it adds itself
to the MutableDataSource's universe.
|
void |
switchLogin(Login login) |
abort, addJournalHint, changeThreadMode, clearSavePoint, create, create, create, create, disableParallelValidation, dispose, duplicate, excludeFromGroup, excludeFromGroup, findDBClass, findDBClass, findDBClassAbstract, findDBClassAbstract, findKey, findKey, findKey, findKey, findRow, forceToDB, freeMemory, getAttribute, getCacheObject, getCost, getCurrentDataSource, getDataBase, getDataBaseReadOnly, getEstimatedSize, getGlobalObject, getInwardLinkage, getJournalHint, getLastAccessed, getLogin, getQueryHandler, getRawReadDB, getRawWriteDB, getSession, getTimeZone, getUser, hasChanged, hasChangedByUser, hasChild, hasExcludedGroups, hasSavePoint, iGetUniverseRowMap, isChangable, isChangedByUserDisabled, isDisposed, isExcludeFromGroup, isInEventAction, isInValidateUniverse, isOnChangeEventDisabled, isParallelValidationAllowed, isSaveDisabled, isSaving, isSimulatingJMS, iUpdateCacheKey, listUniverse, makeQuery, markSavePoint, nextNumber, nextNumber, panicFreeMemory, queuedFreeMemory, raise, recycleObject, reindex, resetReadChecks, rollbackTo, save, setAttribute, setCacheObject, setDisableChangedByUser, setDisableOnChangeEvent, setNoSave, setTimeZone, setTransGroup, simulateJMS, simulateLockedFieldCache, tidyUp, toString, touch, validateUniverse
public SudoDataSource(Login login)
public SudoDataSource addToWatcher(SanityCheckDataSource scds)
public Login getRealLogin()
getRealLogin
in interface DataSource
getRealLogin
in class MutableDataSource
public void switchLogin(Login login)
public void iAddToUniverse(@Nonnull DBObject obj)
MutableDataSource
iAddToUniverse
in class MutableDataSource
obj
- The object to add.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.