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