Package io.aether.utils.streams
Class BufferNode.BGateDown
- java.lang.Object
-
- io.aether.utils.streams.FGate.Pair<TIn,TOut,TIn>
-
- io.aether.utils.streams.BufferNode.BGate<TRead,TWrite>
-
- io.aether.utils.streams.BufferNode.BGateDown
-
- All Implemented Interfaces:
io.aether.utils.interfaces.ObjectFind,AcceptorI<TWrite,TRead>,io.aether.utils.ToString
- Direct Known Subclasses:
BufferNodeAutoFlush.BFGateDown
- Enclosing class:
- BufferNode<TRead,TWrite>
public class BufferNode.BGateDown extends BufferNode.BGate<TRead,TWrite>
Represents a buffer gate for sending data downwards.
-
-
Field Summary
-
Fields inherited from class io.aether.utils.streams.BufferNode.BGate
queue
-
-
Constructor Summary
Constructors Constructor Description BGateDown()Constructs a newBufferNode.BGateDown.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull FGate.InsideGatepair()Returns the inside gate for the up gate.voidresume()Resumes sending data through the down gate.-
Methods inherited from class io.aether.utils.streams.BufferNode.BGate
countDataValues, find, find, getQueue, isPause, isProcessing, pause, requestDataPair, requestDataPair, resume, send, setFGate
-
Methods inherited from class io.aether.utils.streams.FGate.Pair
toString, toString
-
-
-
-
Constructor Detail
-
BGateDown
public BGateDown()
Constructs a newBufferNode.BGateDown.
-
-
Method Detail
-
resume
public void resume()
Resumes sending data through the down gate.- Specified by:
resumein classBufferNode.BGate<TRead,TWrite>
-
pair
public @NotNull FGate.InsideGate pair()
Returns the inside gate for the up gate.- Specified by:
pairin classFGate.Pair<TRead,TWrite,TRead>- Returns:
- the inside gate for the up gate
-
-