As of commit 2811e9d, HHVM includes a pure-PHP Redis client library with
method-for-method compatibility with phpredis: <http://git.io/ylDAyQ>.
RedisConnectionPool appears to work well with it save for the
extension_loaded() check. Practically a freebie!
Bug: 54158
Change-Id: I3ac12293a51a45e8f6a61a35bff7a3c063e16964
[includes/cache/MessageCache.php]
- internal constants
- constructor
- a few missing @var
[includes/clientpool/RedisConnectionPool.php]
- group internal settings applying to the pool
- misc protected members updates
[includes/debug/Debug.php]
- missing parameter name in @var statements
Change-Id: I6ff0a68d659529d128f40f32b0fd1c1d39af952f
And added/removed spaces around some other tokens,
like +, -, *, /, <, >, =, !
Fixed windows newline style
Change-Id: I0b9c8c408f3f6bfc0d685a074d7ec468fb848fc8
Doxygen expects parameter types to come before the
parameter name in @param tags. Used a quick regex
to switch everything around where possible. This
only fixes cases where a primitve variable (or a
primitive followed by other types) is the variable
type. Other cases will need to be fixed manually.
Change-Id: Ic59fd20856eb0489d70f3469a56ebce0efb3db13
* This can avoid fragmentation when applying defaults to different
config arrays actually gives the same resulting array.
Change-Id: Iacab8d38080f51eb3f331d55a8535eed6d93b381
* Avoid fragmenting the client pools due to "poolSize" differences.
Instead that config parameter does not affect the pool something uses,
but the pool used will grow to fit the pool size of anything using it.
Change-Id: Ibc9db7cfc277824b1acde5e6fbf1db0ed296cb41
* The Job class now includes an extra "metadata" field now for usage
by the queue classes. This is useful for stores that lack IDs.
* A RedisConnectionPool class was added for reusability.
Change-Id: Ie72536240e27fe1caf11096cdc4c85dfa821d181