Class MultiServiceMicroservice

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int cnt  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String sayHello​(java.lang.String name)
      Say hello.
      IFuture<java.lang.String> sayMeHello​(java.lang.String name)
      Say hello method.
      • Methods inherited from class java.lang.Object

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

      • cnt

        protected int cnt
    • Constructor Detail

      • MultiServiceMicroservice

        public MultiServiceMicroservice()
    • Method Detail

      • sayHello

        public java.lang.String sayHello​(java.lang.String name)
        Say hello.
        Specified by:
        sayHello in interface ISyncService
        Parameters:
        name - The name.
        Returns:
        The greeting.
      • sayMeHello

        public IFuture<java.lang.String> sayMeHello​(java.lang.String name)
        Say hello method.
        Specified by:
        sayMeHello in interface IAsyncService
        Parameters:
        name - The name.