Class EventStreamFacade


  • public class EventStreamFacade
    extends Object
    The RecordingStream is only Java 14+, and the code must be Java 11. This class provides the used API, but under the hood use MethodHandle.
    • Field Detail

      • available

        public static final boolean available
        Whether the RecordingStream API is available.
    • Constructor Detail

      • EventStreamFacade

        public EventStreamFacade()
    • Method Detail

      • startAsync

        public void startAsync()
      • setMaxSize

        public void setMaxSize​(int max)
      • setOrdered

        public void setOrdered​(boolean ordered)
      • stop

        public boolean stop()