Module Netplex_types


module Netplex_types: sig .. end
Types for Netplex

type param_value = [ `Bool of bool | `Float of float | `Int of int | `String of string ] 
type param_value_or_any = [ `Any of exn
| `Bool of bool
| `Float of float
| `Int of int
| `String of string ]
type level = [ `Alert | `Crit | `Debug | `Emerg | `Err | `Info | `Notice | `Warning ] 
class type logger = object .. end
type parallelization_type = [ `Controller_attached | `Multi_processing | `Multi_threading ] 
Type of parallelization:
type socket_state = [ `Disabled | `Down | `Enabled | `Restarting of bool ] 
The state of a socket:
type container_id = <  > 
Identifies a container
type container_state = [ `Accepting of int * float | `Busy | `Shutting_down | `Starting of float ] 
The container state for workload management:
type capacity = [ `Low_quality of int | `Normal_quality of int | `Unavailable ] 
How many connections a container can accept in addition to the existing connections:
class type controller = object .. end
class type controller_config = object .. end
class type socket_service = object .. end
class type socket_service_config = object .. end
class type protocol = object .. end
class type socket_controller = object .. end
class type processor_hooks = object .. end
class type processor = object .. end
class type container = object .. end
class type workload_manager = object .. end
class type par_thread = object .. end
class type parallelizer = object .. end
type config_tree = [ `Parameter of address * string * param_value
| `Section of address * string * config_tree list ]
type address = <  > 
class type config_file = object .. end
class type processor_factory = object .. end
class type workload_manager_factory = object .. end
class type logger_factory = object .. end
class type netplex_config = object .. end