Usage /usr/local/cpanel/bin/rebuild_phpconf [--default=<ver>] [--<ver>=<handler> ... ] [--dry-run] [--no-restart] [--current|--available] [--errors]
Actions
--default : Set the default PHP version used by Apache.
--<ver> : Set the type of Apache handler used for by a PHP version (may be used with --default)
--current : Show current settings
--available : Show available Apache handlers and PHP SAPIs
--help : Show this screen!
Options
--dry-run : Only display the changes that would be made to Apache
--no-restart : Don't restart Apache after making changes
--errors : Also print errors to STDERR, instead of only writing to log file
--no-users : Do not update user settings when updating a version’s handler
En este ejercicio vamos a estudiar la simulación de una cola simple utilizando Java . Los elementos llegan aleatoriamente al sistema, esperan su turno y posteriormente son atendidos durante un tiempo de servicio también aleatorio. Este ejemplo permite estudiar de forma práctica conceptos fundamentales de Programación Orientada a Objetos (POO) , utilización de vectores, clases, objetos, herencia, interfaces y representación gráfica utilizando las clases de Java AWT . Objetivo de la simulación Representar el comportamiento de una cola donde diferentes elementos llegan en determinados instantes de tiempo, esperan hasta poder ser procesados y permanecen ocupando el recurso durante un tiempo determinado. 1. Clase Elemento Para representar cada uno de los elementos que llegan a la cola se utiliza la clase Elemento . Esta clase contiene tres variables miembro: ...

Comentarios