- AbstractDispatcher - Class in org.lsst.ccs.messaging.util
-
- AbstractDispatcher(String...) - Constructor for class org.lsst.ccs.messaging.util.AbstractDispatcher
-
- AbstractDispatcher.Bin - Class in org.lsst.ccs.messaging.util
-
- AbstractDispatcher.Bucket - Class in org.lsst.ccs.messaging.util
-
- AbstractDispatcher.Status - Class in org.lsst.ccs.messaging.util
-
- 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(ClusterDisconnectionsListener) - Method in interface org.lsst.ccs.messaging.HasClusterDisconnectionNotifications
-
- 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
-
- 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
-
- addReport(long, boolean, Bus, Dispatcher.Order, long, Dispatcher.Stage...) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- addStatusListener(Dispatcher.StatusListener) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
- addStatusListener(Dispatcher.StatusListener) - Method in interface org.lsst.ccs.messaging.util.Dispatcher
-
Registers status listener.
- 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
-
- 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) - Constructor for class org.lsst.ccs.messaging.AgentPresenceManager
-
- AgentPresenceManager.AgentPresenceState - Enum in org.lsst.ccs.messaging
-
- 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
-
- clear() - Method in interface org.lsst.ccs.messaging.HasClusterDisconnectionNotifications
-
- 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.
- ClusterDisconnectionsListener - Interface in org.lsst.ccs.messaging
-
An interface to receive notifications when the cluster membership changes
when members leave.
- 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.
- compute() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Bucket
-
- compute(List<Integer>, AbstractDispatcher.Status) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- 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.
- 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
-
- 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
-
- getApplicationLayer() - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
-
- getBin(boolean, Bus, Dispatcher.Order, Dispatcher.Stage, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- getBucket(boolean, Bus, Dispatcher.Order, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- getBucketIndex(boolean, Bus, Dispatcher.Order, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- 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.
- 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
-
- getCompletedTasks(boolean, Bus, Dispatcher.Order, Dispatcher.Stage, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- getCompletedTasks(boolean, Bus, Dispatcher.Order, Dispatcher.Stage, int) - Method in interface org.lsst.ccs.messaging.util.Dispatcher.Status
-
Returns the number of tasks that completed the specified stage of
processing during the specified period.
- 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.
- getInstance(String, String) - Method in class org.lsst.ccs.messaging.TransportManager
-
- getIntArrayArg(String, String[]) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
- getIntegerArg(String, String[]) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
- 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
-
- 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
-
- getMillisExecuting() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
- getMillisExecuting() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
- getMillisWaiting() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
- getMillisWaiting() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
- 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
-
- getName() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
- getOwner() - Method in class org.lsst.ccs.messaging.DummyLock
-
- getQueueSize() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
-
- getQueueSize() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
- 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.
- getState(String) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- getStates() - Method in class org.lsst.ccs.messaging.StateBundleAggregator
-
- getStatus() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
-
- getStatus() - Method in interface org.lsst.ccs.messaging.util.Dispatcher
-
Returns statistics and diagnostic data on the current state of this Dispatcher.
- getTaskCount() - Method in interface org.lsst.ccs.messaging.util.TimedExecutorMBean
-
- getTime(boolean, Bus, Dispatcher.Order, Dispatcher.Stage, Dispatcher.Stat, int) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- getTime(boolean, Bus, Dispatcher.Order, Dispatcher.Stage, Dispatcher.Stat, int) - Method in interface org.lsst.ccs.messaging.util.Dispatcher.Status
-
Returns time spent by tasks in the specified stage of processing.
- 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.
- 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.
- 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
-
- 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
-
- shutdown() - Method in class org.lsst.ccs.messaging.util.MultiQueueDispatcher
-
- 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 interface org.lsst.ccs.messaging.util.Dispatcher.Task
-
- 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
-
- Status(int[], boolean) - Constructor for class org.lsst.ccs.messaging.util.AbstractDispatcher.Status
-
- statusChanged(Dispatcher.Status) - Method in interface org.lsst.ccs.messaging.util.Dispatcher.StatusListener
-
Called when status of a Dispatcher changes, typically when
statistics for another monitoring period becomes available.
- 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
-
- valueOf(String) - Static method in enum org.lsst.ccs.messaging.AgentMessagingLayer.ConnectionStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.lsst.ccs.messaging.AgentPresenceManager.AgentPresenceState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.lsst.ccs.messaging.util.Dispatcher.Order
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.lsst.ccs.messaging.util.Dispatcher.Stage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.lsst.ccs.messaging.util.Dispatcher.Stat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.lsst.ccs.messaging.AgentMessagingLayer.ConnectionStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.lsst.ccs.messaging.AgentPresenceManager.AgentPresenceState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.lsst.ccs.messaging.util.Dispatcher.Order
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.lsst.ccs.messaging.util.Dispatcher.Stage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.lsst.ccs.messaging.util.Dispatcher.Stat
-
Returns an array containing the constants of this enum type, in
the order they are declared.