Interface StartTestInput

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<StartTestInput>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.RpcInput

    @Generated("mdsal-binding-generator")
    public interface StartTestInput
    extends org.opendaylight.yangtools.yang.binding.RpcInput, org.opendaylight.yangtools.yang.binding.Augmentable<StartTestInput>

    This class represents the following YANG schema fragment defined in module rpcbenchmark

     input input {
       leaf operation {
         type enumeration {
           enum GLOBAL-RTC {
             value 1;
           }
           enum ROUTED-RTC {
             value 2;
           }
         }
       }
       leaf num-clients {
         type uint32;
         default 1;
       }
       leaf num-servers {
         type uint32;
         default 1;
       }
       leaf payload-size {
         type uint32;
         default 1;
       }
       leaf iterations {
         type uint32;
         default 1;
       }
     }
     
    The schema path to identify an instance is rpcbenchmark/start-test/input
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<StartTestInput> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.RpcInput
      • bindingHashCode

        static int bindingHashCode​(@NonNull StartTestInput obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull StartTestInput thisObj,
                                     Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull StartTestInput obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getOperation

        StartTestInput.Operation getOperation()
        Return operation, or null if it is not present.
             
                 RPC type and client type to use in the test
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.StartTestInput.Operation operation, or null if it is not present.
      • getNumClients

        org.opendaylight.yangtools.yang.common.Uint32 getNumClients()
        Return numClients, or null if it is not present.
             
                 Number of clients (test client threads) to start
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 numClients, or null if it is not present.
      • getNumServers

        org.opendaylight.yangtools.yang.common.Uint32 getNumServers()
        Return numServers, or null if it is not present.
             
                 Number of RPC server instances. Only valid for routed RPCs.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 numServers, or null if it is not present.
      • getPayloadSize

        org.opendaylight.yangtools.yang.common.Uint32 getPayloadSize()
        Return payloadSize, or null if it is not present.
             
                 Input/Output payload size: number of elements in the list of integers that is
                 the input and output RPC payload
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 payloadSize, or null if it is not present.
      • getIterations

        org.opendaylight.yangtools.yang.common.Uint32 getIterations()
        Return iterations, or null if it is not present.
             
                 Number of calls to the specified RPC server that is to be made by each client
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 iterations, or null if it is not present.