ePages 6.10 - DE_EPAGES/WebInterface/API/RequestRouterMonitor.pm

Package DE_EPAGES::WebInterface::API::RequestRouterMonitor

This module provides status and debug information from the request router.

Functions

close
debug
new
pools
requestRouters
servers

close

Closes the connection to message center.

Syntax
$Monitor->close;

debug

Returns the list of application servers that are managed by the request router including the pending cache update data. §retrun $aServers | list of application servers

| ref.array.hash

Syntax
$aServers = $Monitor->debug;

new

Creates a new RequestRouterMonitor object and establish a connection to the MONITOR port of the request router.

Syntax
$Monitor = DE_EPAGES::WebInterface::API::RequestRouterMonitor->new(
    Address => $Address,
    Port    => $Port
);
Input
$Address (string)
IP address
$Port (int)
Port Number
Return
$Monitor (object)
the new RequestRouterMonitor object

pools

Returns the list of application seerver pools, including statistics. §retrun $aPools | list of application servers

| ref.array.hash

Syntax
$aPools = $Monitor->pools;

requestRouters

Returns the list of peer request routers. §retrun $aRequestRouters | list of request routers

| ref.array.hash

Syntax
$aRequestRouters = $Monitor->requestRouters;

servers

Returns the list of application servers that are managed by the request router. §retrun $aServers | list of application servers

| ref.array.hash

Syntax
$aServers = $Monitor->servers;