java.lang.Object
com.github.eventmanager.outputs.Batch
Represents a batch of strings that can be added to. Used to batch strings together before sending them to an output.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
boolean
-
Constructor Details
-
Batch
public Batch(int maxBytes)
-
-
Method Details
-
tryAdd
-
clearBatch
public void clearBatch() -
getCurrentSizeInBytes
public int getCurrentSizeInBytes()
-