B C E G H I O R S 

B

beat() - Method in interface org.gytheio.health.Heart
Produces a Heartbeat for health monitoring

C

ComponentUnavailableAction - Interface in org.gytheio.health
Defines actions to be taken when a service's dependent component is unavailable.
ComponentUnavailableActionTerminate - Class in org.gytheio.health
ComponentUnavailableAction which terminates the JVM with the specified exit code, not to be used lightly.
ComponentUnavailableActionTerminate() - Constructor for class org.gytheio.health.ComponentUnavailableActionTerminate
 
ComponentUnavailableException - Exception in org.gytheio.health
Thrown when a dependent component such as a database or other service is unavailable.
ComponentUnavailableException() - Constructor for exception org.gytheio.health.ComponentUnavailableException
 
ComponentUnavailableException(String) - Constructor for exception org.gytheio.health.ComponentUnavailableException
 
ComponentUnavailableException(Throwable) - Constructor for exception org.gytheio.health.ComponentUnavailableException
 
ComponentUnavailableException(String, Throwable) - Constructor for exception org.gytheio.health.ComponentUnavailableException
 
ComponentUnavailableException(String, Throwable, boolean, boolean) - Constructor for exception org.gytheio.health.ComponentUnavailableException
 
ComponentUnavailableExceptionHandler - Class in org.gytheio.health
Determines the ComponentUnavailableAction to execute when a ComponentUnavailableException is thrown
ComponentUnavailableExceptionHandler() - Constructor for class org.gytheio.health.ComponentUnavailableExceptionHandler
 
CompositeComponentUnavailableAction - Class in org.gytheio.health
ComponentUnavailableAction which iterates over a list of specified actions.
CompositeComponentUnavailableAction() - Constructor for class org.gytheio.health.CompositeComponentUnavailableAction
 

E

execute(Throwable) - Method in interface org.gytheio.health.ComponentUnavailableAction
Executes the action using the given exception
execute(Throwable) - Method in class org.gytheio.health.ComponentUnavailableActionTerminate
 
execute(Throwable) - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 
execute(ComponentUnavailableAction, Throwable) - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 

G

getComponentId() - Method in class org.gytheio.health.Heartbeat
Gets the component identifier.
getExecutorService() - Method in class org.gytheio.health.CompositeComponentUnavailableAction
Gets the ExecutorService to be used for timeout-aware actions.
getExitStatusCode() - Method in exception org.gytheio.health.ComponentUnavailableException
 
getInstanceId() - Method in class org.gytheio.health.Heartbeat
Gets the identifier for a particular instance of a component such as an IP address.
getStatus() - Method in class org.gytheio.health.Heartbeat
Gets the optional status message which might include additional statistics on health.
getTime() - Method in class org.gytheio.health.Heartbeat
Gets the epoch time of the health check.

H

handle(Throwable) - Method in class org.gytheio.health.ComponentUnavailableExceptionHandler
Determines the ComponentUnavailableAction to execute based on the given exception and executes it.
Heart - Interface in org.gytheio.health
Defines the object responsible for producing Heartbeats which let components monitor health of other components in the system.
Heartbeat - Class in org.gytheio.health
An object describing a properly behaving resource at a particular point in time.
Heartbeat() - Constructor for class org.gytheio.health.Heartbeat
 
Heartbeat(String, String) - Constructor for class org.gytheio.health.Heartbeat
 
Heartbeat(String, String, String) - Constructor for class org.gytheio.health.Heartbeat
 
HeartbeatDao - Interface in org.gytheio.health
Defines the persistence of a heartbeat.
HeartbeatMonitor - Interface in org.gytheio.health
Defines an object responsible for listening for the heartbeat.

I

init() - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 

O

onReceive(Object) - Method in interface org.gytheio.health.HeartbeatMonitor
Called when a Heartbeat message is routed to the monitor.
org.gytheio.health - package org.gytheio.health
 

R

record(Heartbeat) - Method in interface org.gytheio.health.HeartbeatDao
Persists the heartbeat.

S

setActions(List<ComponentUnavailableAction>) - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 
setActionTimeoutMs(long) - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 
setComponentId(String) - Method in class org.gytheio.health.Heartbeat
Sets the component identifier.
setInstanceId(String) - Method in class org.gytheio.health.Heartbeat
Sets the identifier for a particular instance of a component.
setPolicies(Map<String, ComponentUnavailableAction>) - Method in class org.gytheio.health.ComponentUnavailableExceptionHandler
A map of ComponentUnavailableException canonical class names to the ComponentUnavailableAction that should be executed.
setStatus(String) - Method in class org.gytheio.health.Heartbeat
Sets the optional status message which might include additional statistics on health.
setTime(Long) - Method in class org.gytheio.health.Heartbeat
Sets the epoch time of the health check.
B C E G H I O R S 

Copyright © 2014 Alfresco Software. All rights reserved.