Package Products :: Package ZenWidgets :: Package browser :: Module Portlets :: Class HeartbeatPortletView
[hide private]
[frames] | no frames]

Class HeartbeatPortletView

source code

Five.browser.BrowserView --+
                           |
                          HeartbeatPortletView

Heartbeat issues in YUI table form, for the dashboard portlet

Instance Methods [hide private]
 
__call__(self) source code
 
getHeartbeatIssuesJSON(self)
Get heartbeat issues in a form suitable for a portlet on the dashboard.
source code
Method Details [hide private]

__call__(self)
(Call operator)

source code 
Decorators:
  • @nocache

getHeartbeatIssuesJSON(self)

source code 

Get heartbeat issues in a form suitable for a portlet on the dashboard.

@return: A JSON representation of a dictionary describing heartbeats
@rtype: "{
    'columns':['Device', 'Daemon', 'Seconds'],
    'data':[
        {'Device':'<a href=/>', 'Daemon':'zenhub', 'Seconds':10}
    ]}"

Decorators:
  • @zepConnectionError({'columns': heartbeat_columns, 'data': []})
  • @json