- AbstractDispatcher - Class in org.lsst.ccs.messaging.util
-
- AbstractDispatcher(String) - Constructor for class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Constructs Dispatcher instance in specified configuration.
- AbstractDispatcher.Task - Class in org.lsst.ccs.messaging.util
-
Instrumented Runnable for submission to Dispatcher.
- addAgentPresenceListener(AgentPresenceListener) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
-
- addBusMessageFilter(Predicate<BusMessage<? extends Serializable, ?>>) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
-
- addBusMessagePreProcessor(BusMessagePreProcessor) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Add a BusMessagePreProcessor the the AgentMessagingLayer.
- addBusMessagePreProcessor(BusMessagePreProcessor) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer
-
Add a BusMessagePreProcessor the the MessagingAccessLayer.
- addClusterMembershipListener(ClusterMembershipListener) - Method in interface org.lsst.ccs.messaging.HasClusterMembershipNotifications
-
- addCommandMessageListener(CommandMessageListener) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Adds a listener on the Command bus.
- addCommandMessageListener(CommandMessageListener, Predicate<BusMessage<? extends Serializable, ?>>) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Adds a listener on the Command bus with a filter.
- addForwarder(MessageListener, BusMessageForwarder) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
-
- additionalInformation - Variable in exception org.lsst.ccs.messaging.DuplicateAgentNameException
-
- addListener(Dispatcher.Listener) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Registers a listener.
- addListener(Dispatcher.Listener) - Method in interface org.lsst.ccs.messaging.util.Dispatcher
-
Registers a listener.
- addLogMessageListener(LogMessageListener) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Adds a listener on the Log bus.
- addLogMessageListener(LogMessageListener, Predicate<BusMessage<? extends Serializable, ?>>) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Adds a listener on the Log bus with a filter.
- addMessageListener(String, BusMessageForwarder, Bus...) - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
-
Sets up callback configuration for a topic and subsystem.
- addObserver(StateBundleAggregator.Observer) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- addOrigin(String) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- addPreProcessor(BusMessagePreProcessor) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
-
- addStatusMessageListener(StatusMessageListener) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Adds a listener on the Status bus.
- addStatusMessageListener(StatusMessageListener, Predicate<BusMessage<? extends Serializable, ?>>) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Adds a listener on the Status bus with a filter.
- afterExecute(Runnable, Throwable) - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
Deprecated.
- agentExists(String) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
-
This method returns true as soon as the AgentPresenceManager is aware
of the existence of the given agent by name.
- AgentMessagingLayer - Class in org.lsst.ccs.messaging
-
This interface provides messaging methods for a component (eg an agent) to be
able to communicate on the buses.
- AgentMessagingLayer.ConnectionStatus - Enum in org.lsst.ccs.messaging
-
- AgentMessagingLayerMBean - Interface in org.lsst.ccs.messaging
-
MBean to interact with the messaging layer.
- AgentPresenceListener - Interface in org.lsst.ccs.messaging
-
Agents that implement this interface are notified when an agent is connecting
or has disconnected on the status bus
- AgentPresenceManager - Class in org.lsst.ccs.messaging
-
Tracks agent connection and disconnection on the buses.
- AgentPresenceManager(AgentInfo, AgentMessagingLayer) - Constructor for class org.lsst.ccs.messaging.AgentPresenceManager
-
- AgentPresenceManager.AgentPresenceState - Enum in org.lsst.ccs.messaging
-
- AlertEvent(Dispatcher, Alert, AlertState, String) - Constructor for class org.lsst.ccs.messaging.util.Dispatcher.AlertEvent
-
- AlertGate - Class in org.lsst.ccs.messaging.util
-
Raises an alert or logs a message when the input crosses thresholds, taking care
not to do so too often for the same reason.
- AlertGate(Dispatcher, String, String, int[], int, double) - Constructor for class org.lsst.ccs.messaging.util.AlertGate
-
Constructs an instance, registering new Alert with the Dispatcher.
- AlertGate(Dispatcher, String, String, int[]) - Constructor for class org.lsst.ccs.messaging.util.AlertGate
-
Creates an instance with vetoTime = 5000 and vetoFactor = 1.5.
- alerts - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Registered alerts.
- awaitTermination(long, TimeUnit) - Method in class org.lsst.ccs.messaging.util.KeyQueueExecutor
-
Blocks until all tasks have completed execution after a shutdown request, or the
timeout occurs, or the current thread is interrupted, whichever happens first.
- characteristics() - Method in class org.lsst.ccs.messaging.LogAggregator
-
- check(int) - Method in class org.lsst.ccs.messaging.util.AlertGate
-
Checks the value and takes appropriate action.
- clear() - Method in interface org.lsst.ccs.messaging.HasClusterMembershipNotifications
-
- close() - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
-
Close the Transport Layer.
- close() - Method in class org.lsst.ccs.messaging.LogBusHandler
-
- closed - Variable in class org.lsst.ccs.messaging.LogBusHandler
-
- closeFor(String, Bus...) - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
-
close entry points for a bus for an agent.
- ClusterDeserializationErrorHandler - Interface in org.lsst.ccs.messaging
-
Handler for messaging deserialization errors.
- ClusterMembershipListener - Interface in org.lsst.ccs.messaging
-
An interface to receive notifications when the cluster membership changes.
- CommandExecutor - Interface in org.lsst.ccs.messaging
-
The Command executor receives a command and executes it.
- CommandMessageListener - Interface in org.lsst.ccs.messaging
-
Interface to be implemented by listeners that wish to be notified of messages
received on the command bus.
- CommandOriginator - Interface in org.lsst.ccs.messaging
-
Originator of a command.
- CommandRejectedException - Exception in org.lsst.ccs.messaging
-
Exception thrown by utility classes to indicate that a command has been
rejected.
- CommandRejectedException(CommandNack) - Constructor for exception org.lsst.ccs.messaging.CommandRejectedException
-
Construct a CommandRejectedException from the corresponding CommandNack.
- ConcurrentMessagingUtils - Class in org.lsst.ccs.messaging
-
Utility class to synchronously or asynchronously invoke or listen for events
on the buses.
- ConcurrentMessagingUtils(AgentMessagingLayer) - Constructor for class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
ConsurrentMessagingUtils constructor.
- ConcurrentMessagingUtils(AgentMessagingLayer, Duration) - Constructor for class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Build a ConsurrentMessagingUtils object with a default timeout.
- config - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Configuration obtained from constructor argument string.
- connect(MessagingAccessLayer) - Method in interface org.lsst.ccs.messaging.MessagingLayer
-
Connects a MessagingAccessLayer object on the buses by using its name as a
unique identifier.
- connected(AgentInfo...) - Method in interface org.lsst.ccs.messaging.AgentPresenceListener
-
All the provided agents are fully connected to the buses, they
are OPERATIONAL and ready to receive commands.
- connecting(AgentInfo...) - Method in interface org.lsst.ccs.messaging.AgentPresenceListener
-
Indicates that the list of agents represented by agents is present on the
buses.
- connecting(AgentInfo...) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- connectToBuses() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- createInstance(AgentInfo, LockLevelService) - Static method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Build an Instance of an AgentMessagingLayer for a given Agent by
providing the AgentInfo object.
- createMessagingLayer(String) - Method in interface org.lsst.ccs.messaging.MessagingManager
-
Creates an instance of the bus messaging layer.
- getAckForCommand(CommandRequest, Duration) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Send a CommandRequest on the buses and synchronously wait for the Ack to
come back within the provided Duration timeout.
- getActiveCount() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getAgentInfo() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- getAgentInfo() - Method in class org.lsst.ccs.messaging.MessagingAccessLayer
-
Returns the descriptor of the associated Agent.
- getAgentLockService() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- getAgentName() - Method in class org.lsst.ccs.messaging.DummyLock
-
- getAgentPresenceManager() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- getAlert() - Method in class org.lsst.ccs.messaging.util.Dispatcher.AlertEvent
-
- getApplicationLayer() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- getBooleanArg(String) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Retrieves boolean configuration parameter value from the constructor argument.
- getBus() - Method in interface org.lsst.ccs.messaging.BusMessagePreProcessor
-
The Bus this BusMessagePreProcessor applies to.
- getBus() - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
-
- getBusAccess(Bus) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer
-
- getBusAccesses() - Method in class org.lsst.ccs.messaging.MessagingAccessLayer
-
This list of buses might be used by the messaging layer to determine on which buses
the associated agent has to be connected to.
- getBusMessage() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Task
-
Return the BusMessage sent or received by this task, if any.
- getCause() - Method in class org.lsst.ccs.messaging.util.Dispatcher.AlertEvent
-
- getCommandNack() - Method in exception org.lsst.ccs.messaging.CommandRejectedException
-
Get the CommandNack that explains the rejection of the command.
- getComparator() - Method in class org.lsst.ccs.messaging.LogAggregator
-
- getCompletedTaskCount() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getConnection(String, String) - Static method in class org.lsst.ccs.messaging.TransportManager
-
- getDefaultTimeout() - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Get the default timeout for this ConcurrentMessagingUtils object.
- getDispatcher() - Method in class org.lsst.ccs.messaging.util.Dispatcher.Event
-
- getInstance(String, String) - Method in class org.lsst.ccs.messaging.TransportManager
-
- getIntArg(String, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Retrieves integer configuration parameter value from the constructor argument.
- getIntArrayArg(String, int, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Retrieves int[] configuration parameter value from the constructor argument.
- getIntArrayArg(String, int[]) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Retrieves int[] configuration parameter value from the constructor argument.
- getLevelForAgent(String) - Method in interface org.lsst.ccs.messaging.LockLevelService
-
Get this agent's operational level for the given subsystem.
- getLockForAgent(String) - Method in interface org.lsst.ccs.messaging.LockLevelService
-
Get this agent's lock, if available.
- getLogger() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Returns a logger to be used for Dispatcher related messages.
- getLogger() - Method in interface org.lsst.ccs.messaging.util.Dispatcher
-
Returns a logger to be used for Dispatcher related messages.
- getLoopbackInterfaceName() - Static method in class org.lsst.ccs.messaging.NetworkUtilities
-
- getMainInterfaceName() - Static method in class org.lsst.ccs.messaging.NetworkUtilities
-
- getMaxLevel() - Method in class org.lsst.ccs.messaging.DummyLock
-
- getMessage(int) - Method in class org.lsst.ccs.messaging.util.AlertGate
-
- getMessagingLayer() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- getMillisExecuting() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
Deprecated.
- getMillisExecuting() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getMillisWaiting() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
Deprecated.
- getMillisWaiting() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getName() - Method in class org.lsst.ccs.messaging.MessagingAccessLayer
-
Returns the name of the associated Agent.
- getName() - Method in class org.lsst.ccs.messaging.util.KeyQueueExecutor
-
Returns the name of this executor.
- getName() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
Deprecated.
- getName() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getOwner() - Method in class org.lsst.ccs.messaging.DummyLock
-
- getQueueSize() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
Deprecated.
- getQueueSize() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getRefTime() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Task
-
Returns the reference time stamp (milliseconds since millennium) for this task.
- getRegisteredAlerts() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Returns a set of alerts registered with this Dispatcher.
- getRegisteredAlerts() - Method in interface org.lsst.ccs.messaging.util.Dispatcher
-
Returns the list of alerts registered with this Dispatcher.
- getRegisteredLocalAgents(Bus...) - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
-
Get the list of local agents currently connected to the buses.
- getRegisteredLocalAgents() - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
-
Get the list of local agents currently connected to all buses.
- getSeverity() - Method in class org.lsst.ccs.messaging.util.Dispatcher.AlertEvent
-
- getState(String) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- getStates() - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- getTaskCount() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
Deprecated.
- getToken() - Method in class org.lsst.ccs.messaging.DummyLock
-
- sendAsynchronousCommand(CommandRequest) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Send a command on the buses and immediately return a Future that will
asynchronously listen for the command reply.
- sendCommandReply(CommandReply) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Sends a Command Reply on the Command Bus.
- sendCommandRequest(CommandRequest, CommandOriginator) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Sends a Command Request on the Command Bus.
- sendCommandRequest(CommandRequest, CommandOriginator, boolean) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- sendLogMessage(LogMessage) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Sends a Log Message on the Log Bus
- sendMessage(String, Bus, T) - Method in interface org.lsst.ccs.messaging.MessagingLayer
-
Sends a message on a bus for a given MessagingAccessLayer.
- sendStatusMessage(StatusMessage) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Sends a Status Message on the Status Bus
- sendSynchronousCommand(CommandRequest) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Send synchronously a command on the Buses without a timeout.
- sendSynchronousCommand(CommandRequest, Duration) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Send a command on the Buses and wait for the reply within the provided
Duration timeout.
- serviceExec - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Executor for service tasks, including monitoring and listener notifications.
- setClusterDeserializationErrorHandler(ClusterDeserializationErrorHandler) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- setCommandExecutor(CommandExecutor) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
Defines the component able to execute an incoming command
- setDefaultTimeout(Duration) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Set the default timeout for this ConcurrentMessagingUtils object.
- setLevel(Level) - Method in class org.lsst.ccs.messaging.LogBusHandler
-
- setLogger(Logger) - Method in class org.lsst.ccs.messaging.util.KeyQueueExecutor
-
Sets a logger for messages on abnormal conditions.
- shutdown() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
Orderly shuts down this dispatcher.
- shutdown() - Method in interface org.lsst.ccs.messaging.util.Dispatcher
-
Orderly shuts down this dispatcher.
- shutdown() - Method in class org.lsst.ccs.messaging.util.KeyQueueExecutor
-
Initiates an orderly shutdown in which previously submitted
tasks are executed, but no new tasks will be accepted.
- shutdown() - Method in class org.lsst.ccs.messaging.util.LegacyDispatcher
-
Orderly shuts down this dispatcher.
- shutdown() - Method in class org.lsst.ccs.messaging.util.MultiQueueDispatcher
-
Orderly shuts down this dispatcher.
- shutdownBusAccess() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- shutdownNow() - Method in class org.lsst.ccs.messaging.util.KeyQueueExecutor
-
Shuts down this executor.
- stageEnded(Dispatcher.Stage) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Task
-
Do nothing at the end of a stage.
- stageEnded(Dispatcher.Stage) - Method in interface org.lsst.ccs.messaging.util.Dispatcher.Task
-
Called whenever a stage has been completed.
- startListeningForStatusBusMessage(Predicate<BusMessage<? extends Serializable, ?>>, Duration) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Get a Future on a StatusBusMessage.
- startListeningForStatusBusMessage(Predicate<BusMessage<? extends Serializable, ?>>) - Method in class org.lsst.ccs.messaging.ConcurrentMessagingUtils
-
Get a Future on a StatusBusMessage.
- StateBundleAggregator - Class in org.lsst.ccs.messaging
-
- StateBundleAggregator(AgentMessagingLayer) - Constructor for class org.lsst.ccs.messaging.StateBundleAggregator
-
- StateBundleAggregator.Observer - Interface in org.lsst.ccs.messaging
-
- stateChanged(String, StateBundle, StateBundle) - Method in interface org.lsst.ccs.messaging.StateBundleAggregator.Observer
-
- StatusMessageListener - Interface in org.lsst.ccs.messaging
-
Interface to be implemented by listeners that wish to be notified of messages
received on the status bus.
- stream() - Method in class org.lsst.ccs.messaging.LogAggregator
-
- subSystemName - Variable in class org.lsst.ccs.messaging.LogBusHandler
-