本文整理汇总了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;