Package org.yamcs.yarch.management
Class StreamControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.yamcs.yarch.management.StreamControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,StreamControl
public class StreamControlImpl extends StandardMBean implements StreamControl
-
-
Constructor Summary
Constructors Constructor Description StreamControlImpl(Stream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the stream namelonggetNumEmittedTuples()Returns the number of tuples that have transited through the streamStringgetSchema()Returns the tuple definitionintgetSubscriberCount()List<String>getSubscribers()Returns a list of subscriber.toString()StringgetType()Returns the class name of the stream object-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
StreamControlImpl
public StreamControlImpl(Stream stream) throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:StreamControlReturns the stream name- Specified by:
getNamein interfaceStreamControl
-
getNumEmittedTuples
public long getNumEmittedTuples()
Description copied from interface:StreamControlReturns the number of tuples that have transited through the stream- Specified by:
getNumEmittedTuplesin interfaceStreamControl
-
getType
public String getType()
Description copied from interface:StreamControlReturns the class name of the stream object- Specified by:
getTypein interfaceStreamControl
-
getSchema
public String getSchema()
Description copied from interface:StreamControlReturns the tuple definition- Specified by:
getSchemain interfaceStreamControl
-
getSubscriberCount
public int getSubscriberCount()
- Specified by:
getSubscriberCountin interfaceStreamControl
-
getSubscribers
public List<String> getSubscribers()
Description copied from interface:StreamControlReturns a list of subscriber.toString()- Specified by:
getSubscribersin interfaceStreamControl
-
-