Class RpcClient.IncrementingCorrelationIdSupplier

  • All Implemented Interfaces:
    java.util.function.Supplier<java.lang.String>
    Enclosing class:
    RpcClient

    private static class RpcClient.IncrementingCorrelationIdSupplier
    extends java.lang.Object
    implements java.util.function.Supplier<java.lang.String>
    Since:
    5.9.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int correlationId  
      private java.lang.String prefix  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • prefix

        private final java.lang.String prefix
      • correlationId

        private int correlationId
    • Constructor Detail

      • IncrementingCorrelationIdSupplier

        public IncrementingCorrelationIdSupplier​(java.lang.String prefix)
    • Method Detail

      • get

        public java.lang.String get()
        Specified by:
        get in interface java.util.function.Supplier<java.lang.String>