All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<GetStatsInput,GetStatsOutput>>, org.opendaylight.yangtools.yang.binding.Rpc<GetStatsInput,GetStatsOutput>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Generated("mdsal-binding-generator") public interface GetStats extends org.opendaylight.yangtools.yang.binding.Rpc<GetStatsInput,GetStatsOutput>
Fetch PCEP session statistics for given PCEP topology and node. If topology and/or node details are absent, statistics for all nodes under the context are returned.

This class represents the following YANG schema fragment defined in module pcep-topology-stats-rpc

 rpc get-stats {
   input input {
     list topology {
       key topology-id;
       leaf topology-id {
         type nt:topology-id;
       }
       list node {
         key node-id;
         leaf node-id {
           type nt:node-id;
         }
       }
     }
   }
   output output {
     list topology {
       key topology-id;
       leaf topology-id {
         type nt:topology-id;
       }
       list node {
         key node-id;
         leaf node-id {
           type nt:node-id;
         }
         uses pss:pcep-session-state-grouping;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<GetStats>
     
    com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatsOutput>>
     
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • invoke

      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatsOutput>> invoke(GetStatsInput input)
      Specified by:
      invoke in interface org.opendaylight.yangtools.yang.binding.Rpc<GetStatsInput,GetStatsOutput>
    • implementedInterface

      default Class<GetStats> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<GetStatsInput,GetStatsOutput>>