|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilAtomQueryLock. More...
Inheritance diagram for ilAtomQueryLock:
Collaboration diagram for ilAtomQueryLock:Public Member Functions | |
| run () | |
| Fire your Queries. More... | |
Public Member Functions inherited from ilAtomQueryBase | |
| __construct (ilDBInterface $ilDBInstance, $isolation_level=ilAtomQuery::ISOLATION_SERIALIZABLE) | |
| ilAtomQuery constructor. More... | |
| getRisks () | |
| addTableLock ($table_name) | |
| Add table-names which are influenced by your queries, MyISAm has to lock those tables. More... | |
| addQueryCallable (callable $query) | |
| All action on the database during this isolation has to be passed as Callable to ilAtomQuery. More... | |
| replaceQueryCallable (callable $query) | |
| run () | |
| Fire your Queries. More... | |
| getIsolationLevel () | |
| checkCallable (callable $query) | |
| addTableLock ($table_name) | |
| Add table-names which are influenced by your queries, MyISAm has to lock those tables. More... | |
| addQueryCallable (callable $query) | |
| Every action on the database during this isolation has to be passed as Callable to ilAtomQuery. More... | |
| replaceQueryCallable (callable $query) | |
| Every action on the database during this isolation has to be passed as Callable to ilAtomQuery. More... | |
| run () | |
| Fire your Queries. More... | |
| getIsolationLevel () | |
| Returns the current Isolation-Level. More... | |
| checkCallable (callable $query) | |
| Provides a check if your callable is ready to be used in ilAtomQuery. More... | |
Protected Member Functions | |
| runWithLocks () | |
| getLocksForDBInstance () | |
Protected Member Functions inherited from ilAtomQueryBase | |
| getDeterminedLockLevel () | |
| checkQueries () | |
| runQueries () | |
| checkBeforeRun () | |
Protected Attributes | |
| $locked_table_full_names = array() | |
| $locked_table_names = array() | |
Protected Attributes inherited from ilAtomQueryBase | |
| $isolation_level = ilAtomQuery::ISOLATION_SERIALIZABLE | |
| $tables = array() | |
| $query = null | |
| $ilDBInstance | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilAtomQueryBase | |
| static | isThereRiskThat ($isolation_level, $anomaly) |
| static | getPossibleAnomalies ($isolation_level) |
| static | checkIsolationLevel ($isolation_level) |
| static | checkAnomaly ($anomalie) |
| static | checkIsolationLevel ($isolation_level) |
Data Fields inherited from ilAtomQueryBase | |
| const | ITERATIONS = 10 |
Data Fields inherited from ilAtomQuery | |
| const | LOCK_WRITE = 1 |
| const | LOCK_READ = 2 |
| const | ISOLATION_READ_UNCOMMITED = 1 |
| const | ISOLATION_READ_COMMITED = 2 |
| const | ISOLATION_REPEATED_READ = 3 |
| const | ISOLATION_SERIALIZABLE = 4 |
| const | ANO_LOST_UPDATES = 1 |
| const | ANO_DIRTY_READ = 2 |
| const | ANO_NON_REPEATED_READ = 3 |
| const | ANO_PHANTOM = 4 |
Static Protected Attributes inherited from ilAtomQueryBase | |
| static | $available_isolations_levels |
| static | $possible_anomalies |
| static | $anomalies_map |
Class ilAtomQueryLock.
Definition at line 11 of file class.ilAtomQueryLock.php.
|
protected |
Definition at line 53 of file class.ilAtomQueryLock.php.
References ilAtomQueryException\DB_ATOM_IDENTICAL_TABLES.
Referenced by runWithLocks().
Here is the caller graph for this function:| ilAtomQueryLock::run | ( | ) |
Fire your Queries.
Reimplemented from ilAtomQueryBase.
Definition at line 28 of file class.ilAtomQueryLock.php.
References ilAtomQueryBase\checkBeforeRun(), and runWithLocks().
Here is the call graph for this function:
|
protected |
Definition at line 37 of file class.ilAtomQueryLock.php.
References getLocksForDBInstance(), and ilAtomQueryBase\runQueries().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 16 of file class.ilAtomQueryLock.php.
|
protected |
Definition at line 20 of file class.ilAtomQueryLock.php.