All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.Rpc<StartTestInput,StartTestOutput>>, org.opendaylight.yangtools.binding.Rpc<StartTestInput,StartTestOutput>
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 StartTest extends org.opendaylight.yangtools.binding.Rpc<StartTestInput,StartTestOutput>
Start a new data store write test run

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

 rpc start-test {
   input input {
     leaf operation {
       type enumeration {
         enum PUT {
           value 1;
         }
         enum MERGE {
           value 2;
         }
         enum DELETE {
           value 3;
         }
         enum READ {
           value 4;
         }
       }
     }
     leaf data-format {
       type enumeration {
         enum BINDING-AWARE {
           value 1;
         }
         enum BINDING-INDEPENDENT {
           value 2;
         }
       }
     }
     leaf transaction-type {
       type enumeration {
         enum SIMPLE-TX {
           value 1;
         }
         enum TX-CHAINING {
           value 2;
         }
       }
     }
     leaf data-store {
       type enumeration {
         enum CONFIG {
           value 1;
         }
         enum OPERATIONAL {
           value 2;
         }
         enum BOTH {
           value 3;
         }
       }
     }
     leaf outerElements {
       type uint32;
       default 100000;
     }
     leaf innerElements {
       type uint32;
       default 1;
     }
     leaf putsPerTx {
       type uint32;
       default 1;
     }
     leaf listeners {
       type uint32;
       default 0;
     }
   }
   output output {
     leaf status {
       type enumeration {
         enum OK {
           value 1;
         }
         enum FAILED {
           value 2;
         }
         enum TEST-IN-PROGRESS {
           value 3;
         }
       }
     }
     leaf listBuildTime {
       type int64;
       units microseconds;
     }
     leaf execTime {
       type int64;
       units microseconds;
     }
     leaf txOk {
       type uint32;
     }
     leaf txError {
       type uint32;
     }
     leaf ntfOk {
       type uint32;
     }
     leaf dataChangeEventsOk {
       type uint32;
     }
   }
 }
 
  • 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<StartTest>
     
    com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<StartTestOutput>>
     
  • 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<StartTestOutput>> invoke(StartTestInput input)
      Specified by:
      invoke in interface org.opendaylight.yangtools.binding.Rpc<StartTestInput,StartTestOutput>
    • implementedInterface

      default Class<StartTest> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.Rpc<StartTestInput,StartTestOutput>>