A B C D E G H I O R S T 

A

AbstractHeartImpl - Class in org.gytheio.health.heartbeat
Abstract heart implementation for sending Heartbeat messages.
AbstractHeartImpl() - Constructor for class org.gytheio.health.heartbeat.AbstractHeartImpl
 
AbstractHeartImpl.HeartbeatTask - Class in org.gytheio.health.heartbeat
 
AbstractHeartImpl.HeartbeatTask() - Constructor for class org.gytheio.health.heartbeat.AbstractHeartImpl.HeartbeatTask
 

B

beat() - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
beat() - Method in interface org.gytheio.health.heartbeat.Heart
Returns a single Heartbeat object without sending via messaging

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
 

D

DEFAULT_TIMER_DELAY_MS - Static variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
DEFAULT_TIMER_PERIOD_MS - Static variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 

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

gatherDetails() - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
Gathers any useful health metrics for the details section of each heartbeat messages.
getDetails() - Method in class org.gytheio.health.heartbeat.Heartbeat
Gets the optional status details which might include additional statistics on health.
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
 
getServiceInstanceId() - Method in class org.gytheio.health.heartbeat.Heartbeat
Gets the identifier for a particular instance of a service such as an IP address.
getServiceType() - Method in class org.gytheio.health.heartbeat.Heartbeat
Gets the service type.
getTimestamp() - Method in class org.gytheio.health.heartbeat.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.heartbeat
Defines the object responsible for producing Heartbeats which let services monitor health of other services in the system.
Heartbeat - Class in org.gytheio.health.heartbeat
An object describing service resource behavior at a particular point in time.
Heartbeat() - Constructor for class org.gytheio.health.heartbeat.Heartbeat
 
Heartbeat(String, String, boolean) - Constructor for class org.gytheio.health.heartbeat.Heartbeat
 
Heartbeat(String, String, boolean, Map<String, String>) - Constructor for class org.gytheio.health.heartbeat.Heartbeat
 
HeartbeatDao - Interface in org.gytheio.health.heartbeat
Defines the persistence of a heartbeat.
HeartbeatMonitor - Interface in org.gytheio.health.heartbeat
Defines an object responsible for listening for the heartbeat.

I

init() - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 
isAvailable() - Method in class org.gytheio.health.heartbeat.Heartbeat
Gets whether or not the component is available

O

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

R

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

S

send(Heartbeat) - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
Sends the given heartbeat message
SERVICE_INSTANCE_ID_FLAG_GENERATE_UUID - Static variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
serviceInstanceId - Variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
serviceType - Variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
setActions(List<ComponentUnavailableAction>) - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 
setActionTimeoutMs(long) - Method in class org.gytheio.health.CompositeComponentUnavailableAction
 
setAvailable(boolean) - Method in class org.gytheio.health.heartbeat.Heartbeat
Sets whether or not the component is available
setDetails(Map<String, String>) - Method in class org.gytheio.health.heartbeat.Heartbeat
Sets the optional status details which might include additional statistics on health.
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.
setServiceInstanceId(String) - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
Sets the service instance ID to be used for Heartbeat messages.
setServiceInstanceId(String) - Method in class org.gytheio.health.heartbeat.Heartbeat
Sets the identifier for a particular instance of a component.
setServiceType(String) - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
Sets the service type to be used for Heartbeat messages.
setServiceType(String) - Method in class org.gytheio.health.heartbeat.Heartbeat
Sets the service type.
setTimerPeriodMs(long) - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
The period of heartbeat messages
setTimestamp(Long) - Method in class org.gytheio.health.heartbeat.Heartbeat
Sets the epoch time of the health check.
start() - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
start() - Method in interface org.gytheio.health.heartbeat.Heart
Starts the repeated sending of Heartbeat messages for health monitoring
stop() - Method in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
stop() - Method in interface org.gytheio.health.heartbeat.Heart
Stops the repeated sending of Heartbeat messages for health monitoring

T

timer - Variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
timerPeriodMs - Variable in class org.gytheio.health.heartbeat.AbstractHeartImpl
 
A B C D E G H I O R S T 

Copyright © 2015 Alfresco Software. All rights reserved.