本文整理匯總了PHP中Flash::update_db_flash_cache_size方法的典型用法代碼示例。如果您正苦於以下問題:PHP Flash::update_db_flash_cache_size方法的具體用法?PHP Flash::update_db_flash_cache_size怎麽用?PHP Flash::update_db_flash_cache_size使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Flash
的用法示例。
在下文中一共展示了Flash::update_db_flash_cache_size方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: while
$timer = 0;
while ($aws->fetch_volume_status($aws_volume_id) != 'available') {
$timer += 1;
if ($timer > 60) {
$error->set_msg("Had been waiting for volume status becoming available but timeout.");
}
$error->check();
sleep(1);
}
$aws->delete_volume($aws_volume_id);
}
$error->check();
break;
case 'fc_update_db_flash_cache_size':
$flash = new Flash();
$result = $flash->update_db_flash_cache_size($conn_db, $fc_db_flash_cache_size);
$error->check();
break;
case 'ss_switchover':
oci_close($ss_conn_db_main);
oci_close($ss_conn_db_backup);
oci_close($ss_conn_asm_main);
oci_close($ss_conn_asm_backup);
$result = $site->switchover(SS_ORACLE_HOME, DB_USER, DB_PASSWORD, $ss_active_db_hostname, $ss_inactive_db_hostname, $ss_active_db_service, $ss_inactive_db_service, $ss_active_db_unique_name, $ss_inactive_db_unique_name, SS_LOG_ARCHIVE_DEST_ID);
$error->check();
break;
case 'ss_update_protection_mode':
$ss_compression = $site->fetch_compression($conn_db, SS_LOG_ARCHIVE_DEST_ID);
$result = $site->update_protection_mode($conn_db, $ss_protection_mode, $ss_inactive_db_unique_name, $ss_inactive_db_unique_name, $ss_compression, SS_LOG_ARCHIVE_DEST_ID);
$error->check();
break;