Package org.yamcs.management
Interface ManagementListener
- All Known Implementing Classes:
MementoDb
public interface ManagementListener
Used by ManagementService to distribute various types of management-related updates
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled when an instance state changes - for example when it is stopped/starteddefault voidprocessorAdded(ProcessorInfo processorInfo) default voidprocessorClosed(ProcessorInfo processorInfo) default voidprocessorStateChanged(ProcessorInfo processorInfo) default voidserviceRegistered(String instance, String serviceName, com.google.common.util.concurrent.Service service) default voidserviceUnregistered(String instance, String serviceName) default voidstatisticsUpdated(Processor processor, Statistics stats) Called by theManagementServicewhen the statistics for the given processor were updated.
-
Method Details
-
processorAdded
-
processorClosed
-
processorStateChanged
-
statisticsUpdated
Called by theManagementServicewhen the statistics for the given processor were updated. This usually happens at about 1Hz. -
instanceStateChanged
Called when an instance state changes - for example when it is stopped/started- Parameters:
ysi-
-
serviceRegistered
-
serviceUnregistered
-