Yac(Yet Another Cache)是一種無鎖、共享內(nèi)存的用戶數(shù)據(jù)緩存,可用于替代APC和本地memcache。
http://m.o2fo.com/phpchinese/introduction-to-php87.html(PECL yac >= 1.0.0)Yac::__construct — 構(gòu)造函數(shù)說明public Yac::__construct(string $prefix = "")前綴用于在鍵前添加,這可以用于避免應(yīng)用程序之間的沖突。參數(shù)prefixstring prefix錯(cuò)誤/異常如果Yac未啟用,會(huì)拋出異常。如果前綴超過48個(gè)字節(jié)的最...
http://m.o2fo.com/phpchinese/php8-yac-construct.html(PECL yac >= 1.0.0)Yac::delete — 從緩存中刪除項(xiàng)目說明public Yac::delete(string|array $keys, int $ttl = ?): bool從緩存中刪除項(xiàng)目參數(shù)keys字符串鍵,或要?jiǎng)h除的多個(gè)鍵的數(shù)組ttl如果設(shè)置了延遲,刪除操作將標(biāo)記這些項(xiàng)目在TTL(生存時(shí)間)秒后...
http://m.o2fo.com/phpchinese/php8-yac-delete.html(PECL yac >= 1.0.0)Yac::dump — 轉(zhuǎn)儲(chǔ)緩存說明public Yac::dump(int $num): mixed轉(zhuǎn)儲(chǔ)存儲(chǔ)在緩存中的值參數(shù)num應(yīng)返回的最大項(xiàng)目數(shù)量返回值混合類型
http://m.o2fo.com/phpchinese/php8-yac-dump.html(PECL yac >= 1.0.0)Yac::flush — 清空緩存說明public Yac::flush(): bool移除所有緩存的值參數(shù)此函數(shù)沒有參數(shù)。返回值bool, 始終為true
http://m.o2fo.com/phpchinese/php8-yac-flush.html(PECL yac >= 1.0.0)Yac::get — 從緩存中檢索值說明public Yac::get(string|array $key, int &$cas = null): mixed從緩存中檢索值參數(shù)key字符串鍵,或多個(gè)鍵的數(shù)組。cas如果不為?null?,它將被設(shè)置為檢索到的項(xiàng)目的CAS值。返回值成功時(shí)為混合類型...
http://m.o2fo.com/phpchinese/php8-yac-get.html(PECL yac >= 1.0.0)Yac::__get — 獲取器說明public Yac::__get(string $key): mixed從緩存中檢索值參數(shù)key字符串鍵返回值成功時(shí)為混合類型,失敗時(shí)為null。
http://m.o2fo.com/phpchinese/php8-yac-get*.html(PECL yac >= 1.0.0)Yac::info — 緩存的狀態(tài)說明public Yac::info(): array獲取緩存系統(tǒng)的狀態(tài)參數(shù)此函數(shù)沒有參數(shù)。返回值返回一個(gè)數(shù)組,包括以下內(nèi)容: "memory_size"(總內(nèi)存大?。?slots_memory_size"(槽內(nèi)存大?。?values_memory_size"(值內(nèi)...
http://m.o2fo.com/phpchinese/php8-yac-info.html抱歉,暫時(shí)沒有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的教程
w3cschool 建議您:
Yac(Yet Another Cache)是一種無鎖、共享內(nèi)存的用戶數(shù)據(jù)緩存,可用于替代APC和本地memcache。
http://m.o2fo.com/phpchinese/introduction-to-php87.html(PECL yac >= 1.0.0)Yac::__construct — 構(gòu)造函數(shù)說明public Yac::__construct(string $prefix = "")前綴用于在鍵前添加,這可以用于避免應(yīng)用程序之間的沖突。參數(shù)prefixstring prefix錯(cuò)誤/異常如果Yac未啟用,會(huì)拋出異常。如果前綴超過48個(gè)字節(jié)的最...
http://m.o2fo.com/phpchinese/php8-yac-construct.html(PECL yac >= 1.0.0)Yac::delete — 從緩存中刪除項(xiàng)目說明public Yac::delete(string|array $keys, int $ttl = ?): bool從緩存中刪除項(xiàng)目參數(shù)keys字符串鍵,或要?jiǎng)h除的多個(gè)鍵的數(shù)組ttl如果設(shè)置了延遲,刪除操作將標(biāo)記這些項(xiàng)目在TTL(生存時(shí)間)秒后...
http://m.o2fo.com/phpchinese/php8-yac-delete.html(PECL yac >= 1.0.0)Yac::dump — 轉(zhuǎn)儲(chǔ)緩存說明public Yac::dump(int $num): mixed轉(zhuǎn)儲(chǔ)存儲(chǔ)在緩存中的值參數(shù)num應(yīng)返回的最大項(xiàng)目數(shù)量返回值混合類型
http://m.o2fo.com/phpchinese/php8-yac-dump.html(PECL yac >= 1.0.0)Yac::flush — 清空緩存說明public Yac::flush(): bool移除所有緩存的值參數(shù)此函數(shù)沒有參數(shù)。返回值bool, 始終為true
http://m.o2fo.com/phpchinese/php8-yac-flush.html(PECL yac >= 1.0.0)Yac::get — 從緩存中檢索值說明public Yac::get(string|array $key, int &$cas = null): mixed從緩存中檢索值參數(shù)key字符串鍵,或多個(gè)鍵的數(shù)組。cas如果不為?null?,它將被設(shè)置為檢索到的項(xiàng)目的CAS值。返回值成功時(shí)為混合類型...
http://m.o2fo.com/phpchinese/php8-yac-get.html(PECL yac >= 1.0.0)Yac::__get — 獲取器說明public Yac::__get(string $key): mixed從緩存中檢索值參數(shù)key字符串鍵返回值成功時(shí)為混合類型,失敗時(shí)為null。
http://m.o2fo.com/phpchinese/php8-yac-get*.html(PECL yac >= 1.0.0)Yac::info — 緩存的狀態(tài)說明public Yac::info(): array獲取緩存系統(tǒng)的狀態(tài)參數(shù)此函數(shù)沒有參數(shù)。返回值返回一個(gè)數(shù)組,包括以下內(nèi)容: "memory_size"(總內(nèi)存大小)、"slots_memory_size"(槽內(nèi)存大?。?、"values_memory_size"(值內(nèi)...
http://m.o2fo.com/phpchinese/php8-yac-info.html抱歉,暫時(shí)沒有相關(guān)的文章
w3cschool 建議您: