Package zmq.pipe

Class YPipe<T>

  • All Implemented Interfaces:
    YPipeBase<T>

    public class YPipe<T>
    extends java.lang.Object
    implements YPipeBase<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicInteger c  
      private int f  
      private YQueue<T> queue  
      private int r  
      private int w  
    • Constructor Summary

      Constructors 
      Constructor Description
      YPipe​(int qsize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkRead()  
      boolean flush()  
      T probe()  
      T read()  
      T unwrite()  
      void write​(T value, boolean incomplete)  
      • Methods inherited from class java.lang.Object

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

      • queue

        private final YQueue<T> queue
      • w

        private int w
      • r

        private int r
      • f

        private int f
      • c

        private final java.util.concurrent.atomic.AtomicInteger c
    • Constructor Detail

      • YPipe

        public YPipe​(int qsize)