Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

AbstractDispatcher - Class in org.lsst.ccs.messaging.util
Base class to facilitate implementing Dispatcher.
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.

B

BadCommandException - Exception in org.lsst.ccs.messaging
 
BadCommandException(String) - Constructor for exception org.lsst.ccs.messaging.BadCommandException
 
beforeExecute(Thread, Runnable) - Method in class org.lsst.ccs.messaging.util.TimedExecutor
 
Bin() - Constructor for class org.lsst.ccs.messaging.util.AbstractDispatcher.Bin
 
bins - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher.Bucket
 
Bucket() - Constructor for class org.lsst.ccs.messaging.util.AbstractDispatcher.Bucket
 
Bucket(AbstractDispatcher.Bucket) - Constructor for class org.lsst.ccs.messaging.util.AbstractDispatcher.Bucket
 
BusAccess(Bus) - Constructor for class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
 
BusMessageFilterFactory - Class in org.lsst.ccs.messaging
 
BusMessageFilterFactory() - Constructor for class org.lsst.ccs.messaging.BusMessageFilterFactory
 
BusMessageForwarder<T extends BusMessage> - Interface in org.lsst.ccs.messaging
A BusMessageForwarder receives a BusMessage from the transport layer and passes it to registered MessageListener.
BusMessagePreProcessor - Interface in org.lsst.ccs.messaging
Interface to be implemented by Agent Services that wish to modify the content of an incoming BusMessage.
BusMessagingLayer - Interface in org.lsst.ccs.messaging
Interface defining the access to the Transport Layer of Buses

C

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.

D

DEFAULT - Static variable in interface org.lsst.ccs.messaging.ClusterDeserializationErrorHandler
 
deleteObserver(StateBundleAggregator.Observer) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
 
DestinationsException - Exception in org.lsst.ccs.messaging
 
DestinationsException(Object...) - Constructor for exception org.lsst.ccs.messaging.DestinationsException
 
DestinationsException(String, Object...) - Constructor for exception org.lsst.ccs.messaging.DestinationsException
 
details - Variable in exception org.lsst.ccs.messaging.DestinationsException
 
disconnect(MessagingAccessLayer) - Method in interface org.lsst.ccs.messaging.MessagingLayer
Remove the entry point to the buses for the given MessagingAccessLayer.
disconnected(AgentInfo...) - Method in interface org.lsst.ccs.messaging.AgentPresenceListener
Invoked when one or more agents are disconnected from this cluster, either because the shutdown or because they were lost.
disconnected(AgentInfo...) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
 
disconnecting(AgentInfo) - Method in interface org.lsst.ccs.messaging.AgentPresenceListener
Deprecated.
use disconnected instead
Dispatcher - Interface in org.lsst.ccs.messaging.util
Task dispatcher that decouples MessagingLayer implementation (currently, JGroups) from CCS messaging framework.
Dispatcher.Order - Enum in org.lsst.ccs.messaging.util
Enumeration of order of execution and capacity control policies.
Dispatcher.Stage - Enum in org.lsst.ccs.messaging.util
Enumeration of task execution stages for which statistical data can be reported.
Dispatcher.Stat - Enum in org.lsst.ccs.messaging.util
Enumeration of statistics.
Dispatcher.Status - Interface in org.lsst.ccs.messaging.util
 
Dispatcher.StatusListener - Interface in org.lsst.ccs.messaging.util
Interface to be implemented by classes that should by notified of status changes.
Dispatcher.Task - Interface in org.lsst.ccs.messaging.util
 
DummyLock - Class in org.lsst.ccs.messaging
A dummy lock used for preliminary implementation of the agent lock service.
DummyLock(String, String) - Constructor for class org.lsst.ccs.messaging.DummyLock
 
DummyLock(String) - Constructor for class org.lsst.ccs.messaging.DummyLock
 
DuplicateAgentNameException - Exception in org.lsst.ccs.messaging
This exception is thrown when an agent tries to connect with a non unique name.
DuplicateAgentNameException(String, String) - Constructor for exception org.lsst.ccs.messaging.DuplicateAgentNameException
 

E

embeddedObjectClass(Class<?>) - Static method in class org.lsst.ccs.messaging.BusMessageFilterFactory
Create BusMessageFilter on the class of the object embedded in a StatusMessage.
equals(Object) - Method in class org.lsst.ccs.messaging.DummyLock
 
ErrorInCommandExecutionException - Exception in org.lsst.ccs.messaging
 
ErrorInCommandExecutionException(String) - Constructor for exception org.lsst.ccs.messaging.ErrorInCommandExecutionException
 
estimateSize() - Method in class org.lsst.ccs.messaging.LogAggregator
 
execute(Runnable, String...) - Method in class org.lsst.ccs.messaging.util.KeyQueueExecutor
Submits a Runnable for execution.
execute(Runnable) - Method in class org.lsst.ccs.messaging.util.TimedExecutor
 
executeCommandRequest(CommandRequest) - Method in interface org.lsst.ccs.messaging.CommandExecutor
Executes the received command
executor - Variable in class org.lsst.ccs.messaging.LogBusHandler
 

F

failedDestinations - Variable in exception org.lsst.ccs.messaging.DestinationsException
 
flush() - Method in class org.lsst.ccs.messaging.LogBusHandler
 

G

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
 

H

HasClusterDisconnectionNotifications - Interface in org.lsst.ccs.messaging
Interface to be implemented by a BusMessagingLayer that provides cluster disconnection notifications natively.
hashCode() - Method in class org.lsst.ccs.messaging.DummyLock
 

I

in(Runnable, Bus, String...) - Method in interface org.lsst.ccs.messaging.util.Dispatcher
Submits a task to process an incoming message or disconnection notification.
in(Runnable, Bus, String...) - Method in class org.lsst.ccs.messaging.util.LegacyDispatcher
 
in(Runnable, Bus, String...) - Method in class org.lsst.ccs.messaging.util.MultiQueueDispatcher
Submits a task to process an incoming message or disconnection notification.
init() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher.Bucket
 
initialize() - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
 
initialize() - Method in interface org.lsst.ccs.messaging.util.Dispatcher
Initializes this dispatcher.
initialize() - Method in class org.lsst.ccs.messaging.util.LegacyDispatcher
 
initialize() - Method in class org.lsst.ccs.messaging.util.MultiQueueDispatcher
 
instance - Static variable in class org.lsst.ccs.messaging.NetworkUtilities
 
isAgentConnected(String) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
This method returns true when the given agent is fully connected, OPERATIONAL and ready to receive commands.
isAgentConnected(AgentPropertyPredicate) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
This method returns true when the given agent is fully connected, OPERATIONAL and ready to receive commands.

K

KeyQueueExecutor - Class in org.lsst.ccs.messaging.util
Executor that uses String keys associated with submitted tasks to sequence their execution.
KeyQueueExecutor(String, int) - Constructor for class org.lsst.ccs.messaging.util.KeyQueueExecutor
Constructs the executor.

L

LegacyDispatcher - Class in org.lsst.ccs.messaging.util
Dispatcher implementation that mimics previously existing system.
LegacyDispatcher(String...) - Constructor for class org.lsst.ccs.messaging.util.LegacyDispatcher
 
listConnectedAgents() - Method in class org.lsst.ccs.messaging.AgentPresenceManager
 
LockLevelService - Interface in org.lsst.ccs.messaging
Interface for finding lock and level for an agent at the AgentMessagingLayer.
LogAggregator - Class in org.lsst.ccs.messaging
 
LogAggregator() - Constructor for class org.lsst.ccs.messaging.LogAggregator
 
LogBusHandler - Class in org.lsst.ccs.messaging
A java util log Handler that forwards messages to the Log bus.
LogBusHandler(AgentMessagingLayer) - Constructor for class org.lsst.ccs.messaging.LogBusHandler
 
logBusInitialized - Variable in class org.lsst.ccs.messaging.LogBusHandler
 
LogMessageListener - Interface in org.lsst.ccs.messaging
Interface to be implemented by listeners that wish to be notified of messages received on the LOG bus.

M

membersLeft(List<String>) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
 
membersLeft(List<String>) - Method in interface org.lsst.ccs.messaging.ClusterDisconnectionsListener
 
messageClass(Class<?>) - Static method in class org.lsst.ccs.messaging.BusMessageFilterFactory
Create BusMessageFilter on the class of a BusMessage.
MessageListener - Interface in org.lsst.ccs.messaging
Marker interface to be implemented by bus message listeners.
messageOrigin(String) - Static method in class org.lsst.ccs.messaging.BusMessageFilterFactory
Create BusMessageFilter on the origin of a BusMessage.
messagingAccess - Variable in class org.lsst.ccs.messaging.LogBusHandler
 
MessagingAccessLayer - Class in org.lsst.ccs.messaging
Entry point for receiving messages from the buses.
MessagingAccessLayer(AgentInfo, MessagingAccessLayer.BusAccess...) - Constructor for class org.lsst.ccs.messaging.MessagingAccessLayer
 
MessagingAccessLayer.BusAccess<T extends BusMessage> - Class in org.lsst.ccs.messaging
Handler for processing received messages.
MessagingLayer - Interface in org.lsst.ccs.messaging
Interface providing methods to connect/disconnect MessagingAccessLayer objects to/from the CCS buses and to send messages over the buses.
MessagingManager - Interface in org.lsst.ccs.messaging
Manages the creation of the messaging layer implementations.
MultiQueueDispatcher - Class in org.lsst.ccs.messaging.util
 
MultiQueueDispatcher(String...) - Constructor for class org.lsst.ccs.messaging.util.MultiQueueDispatcher
 

N

n - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher.Bin
 
name - Variable in exception org.lsst.ccs.messaging.DuplicateAgentNameException
 
NetworkUtilities - Class in org.lsst.ccs.messaging
 
NetworkUtilities() - Constructor for class org.lsst.ccs.messaging.NetworkUtilities
 
newInstance(String, Logger) - Static method in class org.lsst.ccs.messaging.util.TimedExecutor
 
notifyObservers(String, StateBundle, StateBundle) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
 

O

onCommandMessage(CommandMessage) - Method in interface org.lsst.ccs.messaging.CommandMessageListener
Called when the message is received.
onLogMessage(LogMessage) - Method in class org.lsst.ccs.messaging.LogAggregator
 
onLogMessage(LogMessage) - Method in interface org.lsst.ccs.messaging.LogMessageListener
Called when the message is received.
onStatusMessage(StatusMessage) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
 
onStatusMessage(StatusMessage) - Method in class org.lsst.ccs.messaging.StateBundleAggregator
 
onStatusMessage(StatusMessage) - Method in interface org.lsst.ccs.messaging.StatusMessageListener
Called when a status message is received.
org.lsst.ccs.messaging - package org.lsst.ccs.messaging
Package defining the CCS Messaging interfaces.
org.lsst.ccs.messaging.util - package org.lsst.ccs.messaging.util
 
out(Runnable, Bus, Dispatcher.Order) - Method in interface org.lsst.ccs.messaging.util.Dispatcher
Submits a task to process an outgoing message.
out(Runnable, Bus, Dispatcher.Order) - Method in class org.lsst.ccs.messaging.util.LegacyDispatcher
 
out(Runnable, Bus, Dispatcher.Order) - Method in class org.lsst.ccs.messaging.util.MultiQueueDispatcher
Submits a task to process an outgoing message.

P

parseDestination(String) - Static method in interface org.lsst.ccs.messaging.BusMessagingLayer
utility method: parse the destination string in Commands.
preProcessMessage(BusMessage) - Method in interface org.lsst.ccs.messaging.BusMessagePreProcessor
Pre-process the incoming BusMessage and return the message to be forwarded to the bus message listeners.
process(String, RuntimeException) - Method in interface org.lsst.ccs.messaging.ClusterDeserializationErrorHandler
 
processAck(CommandAck) - Method in interface org.lsst.ccs.messaging.CommandOriginator
 
processBusMessage(T) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
 
processClusterDeserializationError(String, RuntimeException) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
 
processNack(CommandNack) - Method in interface org.lsst.ccs.messaging.CommandOriginator
 
processResult(CommandResult) - Method in interface org.lsst.ccs.messaging.CommandOriginator
 
publish(LogRecord) - Method in class org.lsst.ccs.messaging.LogBusHandler
should send a LogRecord over the Log Bus.

R

register(String, Bus...) - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
Creates low level communication entry points for a subsystem.
removeAgentPresenceListener(AgentPresenceListener) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
 
removeClusterMembershipListener(ClusterDisconnectionsListener) - Method in interface org.lsst.ccs.messaging.HasClusterDisconnectionNotifications
 
removeCommandMessageListener(CommandMessageListener) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
Removes a listener on the Command bus
removeForwarder(MessageListener) - Method in class org.lsst.ccs.messaging.MessagingAccessLayer.BusAccess
 
removeLogMessageListener(LogMessageListener) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
Removes a listener on the Log bus
removeMessageListener(String, BusMessageForwarder, Bus...) - Method in interface org.lsst.ccs.messaging.BusMessagingLayer
Removes a message listener from the forwarder list.
removeStatusListener(Dispatcher.StatusListener) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
 
removeStatusListener(Dispatcher.StatusListener) - Method in interface org.lsst.ccs.messaging.util.Dispatcher
Removes status listener.
removeStatusMessageListener(StatusMessageListener) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
Removes a listener on the Status bus
report(Runnable, long, boolean, Bus, Dispatcher.Order, long, Dispatcher.Stage...) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
 
restart(int) - Method in class org.lsst.ccs.messaging.AgentMessagingLayer
This method is meant to be invoked from JMX
restart(int) - Method in interface org.lsst.ccs.messaging.AgentMessagingLayerMBean
 

S

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
 

T

terminated() - Method in class org.lsst.ccs.messaging.util.TimedExecutor
 
TimedExecutor - Class in org.lsst.ccs.messaging.util
Managed executor that times its tasks.
TimedExecutorMBean - Interface in org.lsst.ccs.messaging.util
MBean for managing executors that time their tasks.
timeMax - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher.Bin
 
timer - Static variable in class org.lsst.ccs.messaging.util.AbstractDispatcher
 
timeSum - Variable in class org.lsst.ccs.messaging.util.AbstractDispatcher.Bin
 
toString() - Method in exception org.lsst.ccs.messaging.CommandRejectedException
 
toString() - Method in exception org.lsst.ccs.messaging.DestinationsException
 
toString() - Method in exception org.lsst.ccs.messaging.DuplicateAgentNameException
 
TransportException - Exception in org.lsst.ccs.messaging
 
TransportException(String) - Constructor for exception org.lsst.ccs.messaging.TransportException
 
TransportException(String, Throwable) - Constructor for exception org.lsst.ccs.messaging.TransportException
 
TransportException(Throwable) - Constructor for exception org.lsst.ccs.messaging.TransportException
 
TransportManager - Class in org.lsst.ccs.messaging
 
TransportManager() - Constructor for class org.lsst.ccs.messaging.TransportManager
 
TransportStateException - Exception in org.lsst.ccs.messaging
 
TransportStateException() - Constructor for exception org.lsst.ccs.messaging.TransportStateException
 
TransportStateException(String) - Constructor for exception org.lsst.ccs.messaging.TransportStateException
 
TransportStateException(String, Throwable) - Constructor for exception org.lsst.ccs.messaging.TransportStateException
 
TransportStateException(Throwable) - Constructor for exception org.lsst.ccs.messaging.TransportStateException
 
tryAdvance(Consumer<? super LogMessage>) - Method in class org.lsst.ccs.messaging.LogAggregator
 
trySplit() - Method in class org.lsst.ccs.messaging.LogAggregator
 

U

update(T) - Method in interface org.lsst.ccs.messaging.BusMessageForwarder
 
updateStatistics(ArrayList<Integer>) - Method in class org.lsst.ccs.messaging.util.AbstractDispatcher
 

V

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.

W

waitForAgent(String, long, TimeUnit) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
Wait for an Agent to be fully connected: all the listeners have been notified on the connected method.
waitForAgent(AgentPropertyPredicate, long, TimeUnit) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
 
waitForAgentDisconnection(String, long, TimeUnit) - Method in class org.lsst.ccs.messaging.AgentPresenceManager
Wait for an Agent to be fully disconnected: all the listeners have been notified on the disconnected method.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2021 LSST. All rights reserved.