Memcached::isPristine
(PECL memcached >= 2.0.0)
Memcached::isPristine — Check if the instance was recently created
说明
public bool Memcached::isPristine
( void
)
Memcached::isPristine() checks if the Memcache instance was recently created.
参数
此函数没有参数。
返回值
Returns the true if instance is recently created, false otherwise.
参见
Memcached::isPersistent() - Check if a persitent connection to memcache is being used