Class Topic<M>


  • public final class Topic<M>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Topic​(@NotNull java.lang.String name, @NotNull java.lang.Class<? extends M> messageType)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <M> Topic<M> create​(@NotNull java.lang.String name, @NotNull java.lang.Class<? extends M> messageType)  
      @NotNull java.lang.Class<? extends M> getMessageType()  
      @NotNull java.lang.String getName()  
      • Methods inherited from class java.lang.Object

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

      • Topic

        public Topic​(@NotNull
                     @NotNull java.lang.String name,
                     @NotNull
                     @NotNull java.lang.Class<? extends M> messageType)
    • Method Detail

      • create

        public static <M> Topic<M> create​(@NotNull
                                          @NotNull java.lang.String name,
                                          @NotNull
                                          @NotNull java.lang.Class<? extends M> messageType)
      • getName

        @NotNull
        public @NotNull java.lang.String getName()
      • getMessageType

        @NotNull
        public @NotNull java.lang.Class<? extends M> getMessageType()