public class OpendaylightToaster extends AbstractMXBean implements ToasterService, ToasterProviderRuntimeMXBean, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Toaster>, AutoCloseable
BASE_JMX_PREFIX| Constructor and Description | 
|---|
| OpendaylightToaster() | 
| OpendaylightToaster(ToasterAppConfig toasterAppConfig) | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CancelToastOutput>> | cancelToast(CancelToastInput input)RPC call implemented from the ToasterService interface that cancels the current toast, if any. | 
| void | clearToastsMade()JMX RPC call implemented from the ToasterProviderRuntimeMXBean interface. | 
| void | close()Implemented from the AutoCloseable interface. | 
| Long | getToastsMade()Accesssor method implemented from the ToasterProviderRuntimeMXBean interface. | 
| void | init() | 
| com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> | makeToast(MakeToastInput input)RPC call implemented from the ToasterService interface that attempts to make toast. | 
| void | onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<Toaster>> changes)Implemented from the DataTreeChangeListener interface. | 
| com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestockToasterOutput>> | restockToaster(RestockToasterInput input)RestConf RPC call implemented from the ToasterService interface. | 
| void | setDataBroker(org.opendaylight.mdsal.binding.api.DataBroker dataBroker) | 
| void | setNotificationProvider(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService) | 
getMBeanCategory, getMBeanName, getMBeanType, register, registerMBean, unregister, unregisterMBeanpublic OpendaylightToaster()
public OpendaylightToaster(ToasterAppConfig toasterAppConfig)
public void setNotificationProvider(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)
public void setDataBroker(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
public void init()
public void close()
close in interface AutoCloseablepublic void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<Toaster>> changes)
onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Toaster>public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CancelToastOutput>> cancelToast(CancelToastInput input)
cancelToast in interface ToasterServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> makeToast(MakeToastInput input)
makeToast in interface ToasterServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestockToasterOutput>> restockToaster(RestockToasterInput input)
restockToaster in interface ToasterServicepublic void clearToastsMade()
clearToastsMade in interface ToasterProviderRuntimeMXBeanpublic Long getToastsMade()
getToastsMade in interface ToasterProviderRuntimeMXBeanCopyright © 2019 OpenDaylight. All rights reserved.