- Diviner Queries
- All Atoms
- Search
- Diviner Search
Diviner All Atoms
All Atoms
All Atoms
- Stacks multiple caches on top of each other, with readthrough semantics:
- Class
- Method
- Method
- Method
- Method
- Set the readthrough TTL for the next cache operation. The TTL applies to any keys set by the next call to @{method:getKey} or @{method:getKeys}, and is reset after the call finishes.
- Method
- Set the caches which comprise this stack.
- Method
- src/infrastructure/cache/PhutilKeyValueCacheStack.php
- File
- Method
- Method
- Method
- Method
- src/infrastructure/storage/lisk/LiskRawMigrationIterator.php
- File
- Method
- Method
- src/infrastructure/storage/lisk/PhabricatorLiskSerializer.php
- File
- Iterate over every object of a given type, without holding all of them in memory. This is useful for performing database migrations.
- Class
- Method
- Method
- Method
- Method
- src/infrastructure/storage/lisk/LiskMigrationIterator.php
- File
- src/infrastructure/storage/lisk/LiskEphemeralObjectException.php
- File
- Method
- Method
- Method
- Method
- src/infrastructure/storage/lisk/PhabricatorQueryIterator.php
- File
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with @{function:qsprintf}) into chunks which will fit under the MySQL 'max_allowed_packet' limit.
- Method
- Method
- Get the database name
- Method
- Get the database table name
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- src/infrastructure/storage/lisk/PhabricatorLiskDAO.php
- File
- Method
- src/infrastructure/storage/lisk/PhabricatorDataNotAttachedException.php
- File
- Simple object-authoritative data access object that makes it easy to build stuff that you need to save to a database. Basically, it means that the amount of boilerplate code (and, particularly, boilerplate SQL) you need to write is greatly reduced.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Overwrite a named counter, forcing it to a specific value.
- Method
- Returns the current value of a named counter.
- Method
- Increments a named counter and returns the next value.
- Method
- Warns against writing to undeclared property.
- Method
- Black magic. Builds implied get*() and set*() for all properties.
- Method
- Applies configured serialization to a dictionary of values.
- Method
- Method
- Method
- Method
- Close any connections with no recent activity.
- Method
- Ends write-locking that began at an earlier @{method:beginWriteLocking} call.
- Method
- Begins write-locking selected rows with SELECT ... LOCK IN SHARE MODE, so that other connections can not update or delete them (this is an oversimplification of LOCK IN SHARE MODE semantics; consult the MySQL documentation for details). To end write locking, call @{method:endWriteLocking}.
- Method
- Ends read-locking that began at an earlier @{method:beginReadLocking} call.
- Method
- Begins read-locking selected rows with SELECT ... FOR UPDATE, so that other connections can not read them (this is an enormous oversimplification of FOR UPDATE semantics; consult the MySQL documentation for details). To end read locking, call @{method:endReadLocking}. For example:
- Method
- Decrease transaction stack depth, discarding work.
- Method
- Decrease transaction stack depth, saving work.
- Method
- Increase transaction stack depth.
- Method
- Writes a value to a field. Override this method for custom behavior of setField($value) instead of overriding setField directly.
- Method
- Reads the value from a field. Override this method for custom behavior of @{method:getField} instead of overriding getField directly.
- Method
- Hook to perform an action after the deletion of an object.
- Method
- Hook to perform an action before the deletion of an object.
- Method
- Hook to perform an action on data after it is read from the database.
- Method
- Hook to apply serialization or validation to data as it is read from the database. See also @{method:willWriteData}.
- Method
- Hook to make internal object state changes prior to INSERT, REPLACE or UPDATE.
- Method
- Hook to perform actions after data has been written to the database.
- Method