Memcached::isPersistent

(PECL memcached >= 2.0.0)

Memcached::isPersistentCheck if a persitent connection to memcache is being used

說(shuō)明

public Memcached::isPersistent(): bool

Memcached::isPersistent() checks if the connections to the memcache servers are persistent connections.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns true if Memcache instance uses a persistent connection, false otherwise.

參見