Uses of Class
com.sun.sgs.service.Node.Health

Packages that use Node.Health
com.sun.sgs.impl.service.session Provides an implementation of ClientSessionService
com.sun.sgs.impl.service.watchdog Provides an implementation of WatchdogService
com.sun.sgs.management Provides the RedDwarf management interfaces exposed via JMX. 
com.sun.sgs.service Provides interfaces and classes for services provided by the RedDwarf Server. 
 

Uses of Node.Health in com.sun.sgs.impl.service.session
 

Methods in com.sun.sgs.impl.service.session that return Node.Health
(package private)  Node.Health ClientSessionServiceImpl.getHealth()
          Get the service's health.
 Node.Health ClientSessionServiceStats.getSessionServiceHealth()
           
 

Uses of Node.Health in com.sun.sgs.impl.service.watchdog
 

Methods in com.sun.sgs.impl.service.watchdog that return Node.Health
 Node.Health NodeImpl.getHealth()
          Returns the health of the node.
 Node.Health WatchdogServiceImpl.getLocalNodeHealth()
          Returns the health of the local node.
 Node.Health WatchdogServiceImpl.getLocalNodeHealthNonTransactional()
          Returns the health of the local node.
 Node.Health WatchdogServiceStats.getNodeHealth()
          Return the health of the local node.
 

Methods in com.sun.sgs.impl.service.watchdog with parameters of type Node.Health
 void WatchdogClient.nodeStatusChanges(long[] ids, String[] hosts, Node.Health[] health, long[] backups)
          Notifies this client that the nodes specified by corresponding information in the ids, hosts, health, and backups arrays have a health change and may need to recover (if the backup ID is equal to the local node ID).
 void WatchdogServiceImpl.reportHealth(long nodeId, Node.Health nodeHealth, String component)
          Informs the watchdog of a node's health.
 void WatchdogServiceImpl.reportHealth(Node.Health nodeHealth, String component)
          Informs the watchdog of this node's health.
(package private)  void NodeImpl.setHealth(DataService dataService, Node.Health newHealth)
          Sets the health of this node instance to a non-RED value.
 void WatchdogServer.setNodeHealth(long nodeId, boolean isLocal, Node.Health health, String component, int maxNumberOfAttempts)
          Notifies the node with the given ID that its health has been set.
 void WatchdogServerImpl.setNodeHealth(long nodeId, boolean isLocal, Node.Health health, String component, int maxNumberOfAttempts)
          Notifies the node with the given ID that its health has been set.
 void WatchdogServiceStats.setNodeHealth(Node.Health health)
          Set the health of the local node.
 

Constructors in com.sun.sgs.impl.service.watchdog with parameters of type Node.Health
NodeImpl(long nodeId, String hostName, Node.Health health)
          Constructs an instance of this class with the given nodeId, hostName, and health.
NodeImpl(long nodeId, String hostName, Node.Health health, long backupId)
          Constructs an instance of this class with the given nodeId, hostName, isAlive status, and backupId.
 

Uses of Node.Health in com.sun.sgs.management
 

Methods in com.sun.sgs.management that return Node.Health
 Node.Health NodeInfo.getHealth()
          Returns the node health.
 Node.Health WatchdogServiceMXBean.getNodeHealth()
          Return the health of the local node.
 Node.Health ClientSessionServiceMXBean.getSessionServiceHealth()
          Gets the health of the service.
 

Methods in com.sun.sgs.management with parameters of type Node.Health
 void WatchdogServiceMXBean.setNodeHealth(Node.Health health)
          Set the health of the local node.
 

Constructors in com.sun.sgs.management with parameters of type Node.Health
NodeInfo(String host, long id, Node.Health health, long backup, int jmxPort)
          Creates a NodeInfo object.
 

Uses of Node.Health in com.sun.sgs.service
 

Methods in com.sun.sgs.service that return Node.Health
 Node.Health Node.getHealth()
          Returns the health of the node.
 Node.Health WatchdogService.getLocalNodeHealth()
          Returns the health of the local node.
 Node.Health WatchdogService.getLocalNodeHealthNonTransactional()
          Returns the health of the local node.
static Node.Health Node.Health.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Node.Health[] Node.Health.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in com.sun.sgs.service with parameters of type Node.Health
 void WatchdogService.reportHealth(long nodeId, Node.Health health, String component)
          Informs the watchdog of a node's health.
 void WatchdogService.reportHealth(Node.Health health, String component)
          Informs the watchdog of this node's health.
 boolean Node.Health.worseThan(Node.Health health)
          Returns true if this health is worse than the specified health.
 


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved